Command.cs 365 B

123456789101112131415
  1. using Application.Abstractions.Messaging;
  2. using SharedKernel.Results;
  3. namespace Application.Features.Admin.Faq.Category.Save;
  4. public sealed record Command(IReadOnlyList<Command.Row> Items) : ICommand<Result<Response>>
  5. {
  6. public sealed record Row(
  7. int? ID,
  8. string Code,
  9. string Subject,
  10. short Order,
  11. bool IsActive
  12. );
  13. }