10 lines
451 B
C#
10 lines
451 B
C#
namespace Brizco.Core.EntityServices.Handlers.ShiftPlans;
|
|
|
|
public class ChangeShiftPlanTaskStatusCommandHandler(IMediator mediator) : IRequestHandler<ChangeShiftPlanTaskStatusCommand, bool>
|
|
{
|
|
public async Task<bool> Handle(ChangeShiftPlanTaskStatusCommand request, CancellationToken cancellationToken)
|
|
{
|
|
var shiftPlan = await mediator.Send(new GetShiftPlanQuery(request.ShiftPlanId), cancellationToken);
|
|
return true;
|
|
}
|
|
} |