public void AddAssignShift(EmployeeAssignShiftCommand command) { CommandBus.Dispatch(command); }
public void CreateAssignShift(EmployeeAssignShiftCommand command) { commandFacade.AddAssignShift(command); }
public IActionResult AssignShift(EmployeeAssignShiftCommand command) { employeeCommandFacade.AddAssignShift(command); return(RedirectToAction("EmployeeAssignShift")); }