2023-11-14 16:21:49 +03:30
|
|
|
|
namespace Brizco.Domain.CommandQueries.Commands;
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-19 22:06:49 +03:30
|
|
|
|
public sealed record CreateRoutineCommand(string Name, string Description)
|
2023-11-14 16:21:49 +03:30
|
|
|
|
: IRequest<RoutineSDto>;
|
|
|
|
|
|
|
2023-11-19 22:06:49 +03:30
|
|
|
|
public sealed record UpdateRoutineCommand(Guid Id, string Name, string Description)
|
2023-11-14 16:21:49 +03:30
|
|
|
|
: IRequest<bool>;
|
|
|
|
|
|
|
|
|
|
|
|
public sealed record DeleteRoutineCommand(Guid Id)
|
|
|
|
|
|
: IRequest<bool>;
|