8 lines
527 B
C#
8 lines
527 B
C#
using Netina.Domain.Dtos.SmallDtos;
|
|
|
|
namespace Netina.Domain.CommandQueries.Commands;
|
|
|
|
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>; |