2024-04-22 13:33:39 +03:30
|
|
|
|
namespace Netina.Domain.CommandQueries.Commands;
|
2024-01-01 16:18:49 +03:30
|
|
|
|
|
|
|
|
|
|
public sealed record CreateReviewCommand(string Title, string Comment, float Rate, bool IsBuyer, Guid ProductId, Guid UserId) : IRequest<ReviewSDto>;
|
|
|
|
|
|
public sealed record UpdateReviewCommand(Guid Id,string Title, string Comment, float Rate, bool IsBuyer, Guid ProductId, Guid UserId): IRequest<bool>;
|
|
|
|
|
|
public sealed record ConfirmReviewCommand(Guid Id) : IRequest<bool>;
|
|
|
|
|
|
public sealed record DeleteReviewCommand(Guid Id) : IRequest<bool>;
|