示例#1
0
 /// <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;
 }
示例#2
0
 public HolidaysController(IHolidayRequestService holidayRequestService)
 {
     _holidayRequestService = holidayRequestService;
 }
示例#3
0
 public RequestsController(IHolidayRequestService service)
 => this.service = service;