Command.cs 361 B

123456789101112131415
  1. using Application.Abstractions.Messaging;
  2. using Microsoft.AspNetCore.Http;
  3. namespace Application.Features.Admin.Forum.Post.Create
  4. {
  5. public sealed record Command(
  6. int BoardID,
  7. string Subject,
  8. string? Content,
  9. IFormFile? ThumbnailFile,
  10. bool IsNotice,
  11. bool IsSecret,
  12. bool IsAnonymous
  13. ) : ICommand;
  14. }