Api/NetinaShop.Domain/CommandQueries/Commands/ShippingCommands.cs

23 lines
624 B
C#
Raw Normal View History

namespace NetinaShop.Domain.CommandQueries.Commands;
public sealed record CreateShippingCommand (
string Name,
string WarehouseName,
bool IsExpressShipping,
bool IsShipBySeller ,
bool IsOriginalWarehouse,
2024-02-12 22:01:15 +03:30
double DeliveryCost,
int WorkingDays) : IRequest<ShippingSDto>;
public sealed record UpdateShippingCommand(
Guid Id,
string Name,
string WarehouseName,
bool IsExpressShipping,
bool IsShipBySeller,
bool IsOriginalWarehouse,
2024-02-12 22:01:15 +03:30
double DeliveryCost,
int WorkingDays) : IRequest<bool>;
public sealed record DeleteShippingCommand(
Guid Id) : IRequest<bool>;