api/NetinaCMS.Domain/CommandQueries/Commands/BlogCommands.cs

7 lines
542 B
C#
Raw Normal View History

2024-03-24 12:35:42 +03:30
using NetinaCMS.Domain.Dtos.SmallDto;
namespace NetinaCMS.Domain.CommandQueries.Commands;
2024-03-09 19:53:01 +03:30
public record CreateBlogCommand(string Title, string Content, string Tags, int ReadingTime, string Summery, bool IsSuggested, List<StorageFileSDto> Files, Guid CategoryId) : IRequest<bool>;
public record UpdateBlogCommand(Guid Id, string Title, string Content, string Tags, int ReadingTime, string Summery, bool IsSuggested, List<StorageFileSDto> Files, Guid CategoryId) : IRequest<bool>;
public record DeleteBlogCommand(Guid Id) : IRequest<bool>;