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

10 lines
453 B
C#
Raw Normal View History

namespace Brizco.Domain.CommandQueries.Commands;
2023-11-19 22:06:49 +03:30
public record CreateShiftPlanCommand(DateTime PlanDate,Guid ShiftId,Guid RoutineId, List<KeyValuePair<Guid,Guid>> UserAndPositionIds)
:IRequest<ShiftPlanLDto>;
2023-11-19 22:06:49 +03:30
public record UpdateShiftPlanCommand(Guid Id,DateTime PlanDate, Guid ShiftId, Guid RoutineId, List<KeyValuePair<Guid, Guid>> UserAndPositionIds)
: IRequest<bool>;
public record DeleteShiftPlanCommand(Guid Id)
: IRequest<bool>;