Command.cs 383 B

123456789101112131415
  1. using Application.Abstractions.Messaging;
  2. using SharedKernel.Results;
  3. namespace Application.Features.Api.Store.Orders.Place;
  4. public sealed record Command(
  5. int MemberID,
  6. int? ChannelID,
  7. List<Command.Item> Items,
  8. int? GiftToMemberID = null,
  9. string? GiftMessage = null
  10. ) : ICommand<Result<Response>>
  11. {
  12. public sealed record Item(int ProductID, int Quantity);
  13. }