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

21 lines
579 B
C#

namespace NetinaShop.Domain.CommandQueries.Commands;
public sealed record CreateShippingCommand (
string Title,
string WarehouseName,
bool IsFastShipping ,
bool IsShipBySeller ,
bool IsOriginalWarehouse,
double DeliveryCost) : IRequest<ShippingSDto>;
public sealed record UpdateShippingCommand(
Guid Id,
string Title,
string WarehouseName,
bool IsFastShipping,
bool IsShipBySeller,
bool IsOriginalWarehouse,
double DeliveryCost) : IRequest<bool>;
public sealed record DeleteShippingCommand(
Guid Id) : IRequest<bool>;