Command.cs 489 B

123456789101112131415161718192021
  1. using Application.Abstractions.Messaging;
  2. using SharedKernel.Results;
  3. using Microsoft.AspNetCore.Http;
  4. namespace Application.Features.Admin.Banner.Item.Update;
  5. public sealed record Command(
  6. int ID,
  7. int PositionID,
  8. string Subject,
  9. IFormFile? DesktopImage,
  10. IFormFile? MobileImage,
  11. bool RemoveDesktop,
  12. bool RemoveMobile,
  13. string? Link,
  14. string LinkTarget,
  15. short Order,
  16. bool IsActive,
  17. DateTime? StartAt,
  18. DateTime? EndAt
  19. ) : ICommand<Result>;