Command.cs 430 B

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