13 lines
426 B
C#
13 lines
426 B
C#
namespace NetinaShop.Domain.CommandQueries.Queries;
|
|
|
|
|
|
public sealed record GetProductQuery(Guid Id) : IRequest<ProductLDto>;
|
|
public sealed record GetProductsQuery(
|
|
Guid[]? BrandIds,
|
|
bool? IsActive,
|
|
int Page = 0 ,
|
|
string? ProductName = default,
|
|
QuerySortBy SortBy = QuerySortBy.None ,
|
|
Guid CategoryId = default ,
|
|
double MinPrice = -1 ,
|
|
double MaxPrice = 0) : IRequest<List<ProductSDto>>; |