Edup
Edup
CC#
Created by Edup on 3/20/2025 in #help
Repository Pattern and Clean Architecture
For while, I'm using selector expression. IEnumerable<T> GetDeals<T>(Expression<Func<Product, T>> selector);
46 replies
CC#
Created by Edup on 3/20/2025 in #help
Repository Pattern and Clean Architecture
Well, I believe the best way would be a CQRS hadler on application layer, as you said.
46 replies
CC#
Created by Edup on 3/20/2025 in #help
Repository Pattern and Clean Architecture
You have a point. But how do you abstract the data you're getting? Example... I have to get promotional products, I only need to show name and price (ProductSumamaryDto)... and I have 2 projects: Blazor / Api. Both of them need to get promotional products.
46 replies