/// <summary> /// Constructor /// </summary> /// <param name="identityService"></param> /// <param name="roleService"></param> /// <param name="userService"></param> /// <param name="checkInRecordService"></param> /// <param name="holidayRequestService"></param> public IdentityController(IIdentitySevice identityService, IRoleService roleService, IUserService userService, ICheckInRecordService checkInRecordService, IHolidayRequestService holidayRequestService) { _identityService = identityService; _roleService = roleService; _userService = userService; _checkInRecordService = checkInRecordService; _holidayRequestService = holidayRequestService; }
public HolidaysController(IHolidayRequestService holidayRequestService) { _holidayRequestService = holidayRequestService; }
public RequestsController(IHolidayRequestService service) => this.service = service;