Api/Brizco.Domain/CommandQueries/Commands/RoutineCommands.cs

11 lines
340 B
C#

namespace Brizco.Domain.CommandQueries.Commands;
public sealed record CreateRoutineCommand(string Title, string Description)
: IRequest<RoutineSDto>;
public sealed record UpdateRoutineCommand(Guid Id, string Title, string Description)
: IRequest<bool>;
public sealed record DeleteRoutineCommand(Guid Id)
: IRequest<bool>;