Command.cs 468 B

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