21 lines
582 B
C#
21 lines
582 B
C#
namespace NetinaShop.Domain.CommandQueries.Commands;
|
|
|
|
public sealed record CreateShippingCommand (
|
|
string Name,
|
|
string WarehouseName,
|
|
bool IsExpressShipping,
|
|
bool IsShipBySeller ,
|
|
bool IsOriginalWarehouse,
|
|
double DeliveryCost) : IRequest<ShippingSDto>;
|
|
|
|
public sealed record UpdateShippingCommand(
|
|
Guid Id,
|
|
string Name,
|
|
string WarehouseName,
|
|
bool IsExpressShipping,
|
|
bool IsShipBySeller,
|
|
bool IsOriginalWarehouse,
|
|
double DeliveryCost) : IRequest<bool>;
|
|
|
|
public sealed record DeleteShippingCommand(
|
|
Guid Id) : IRequest<bool>; |