Command.cs 319 B

12345678910111213
  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. ) : ICommand<Result<Response>>
  9. {
  10. public sealed record Item(int ProductID, int Quantity);
  11. }