Command.cs 395 B

1234567891011121314151617
  1. using Application.Abstractions.Messaging;
  2. using Microsoft.AspNetCore.Http;
  3. namespace Application.Features.Admin.Forum.Post.Update;
  4. public sealed record Command(
  5. int ID,
  6. int? BoardPrefixID,
  7. string Subject,
  8. string? Content,
  9. IFormFile? ThumbnailFile,
  10. List<IFormFile>? Files,
  11. List<string>? Tags,
  12. bool IsNotice,
  13. bool IsSecret,
  14. bool IsAnonymous
  15. ) : ICommand;