public void AddAssignShift(EmployeeAssignShiftCommand command)
 {
     CommandBus.Dispatch(command);
 }
Ejemplo n.º 2
0
 public void CreateAssignShift(EmployeeAssignShiftCommand command)
 {
     commandFacade.AddAssignShift(command);
 }
        public IActionResult AssignShift(EmployeeAssignShiftCommand command)
        {
            employeeCommandFacade.AddAssignShift(command);

            return(RedirectToAction("EmployeeAssignShift"));
        }