public LeaveController(ILeaveRequestService leaveRequestService, IEmployeeService employeeService, IDesignationService designationService, IDepartmentService departmentService, IVacationTypeService vacationTypeService)
 {
     this.leaveRequestService = leaveRequestService;
     this.employeeService     = employeeService;
     this.designationService  = designationService;
     this.departmentService   = departmentService;
     this.vacationTypeService = vacationTypeService;
 }
Exemple #2
0
 public LeaveRequestController(ILeaveRequestService leaveRequestService,
                               ILeaveTypeService leaveTypeService,
                               IEmployeeService employeeService,
                               IDataProtectionProvider dataProtectionProvider,
                               DataProtecionPurposeStrings dataProtecionPurposeStrings)
 {
     this.leaveRequestService = leaveRequestService;
     this.leaveTypeService    = leaveTypeService;
     this.employeeService     = employeeService;
     protector = dataProtectionProvider.CreateProtector(dataProtecionPurposeStrings.EmployeeIdRouteValue);
 }
 public AccountController(IGenderService genderService, IQualificationService qualificationService, IDepartmentService departmentService, IDesignationService designationService, IEmployeeService employeeService, IExperienceService experienceService, ILeaveRequestService leaveRequestService, IVacationTypeService vacationTypeService)
 {
     this.genderService        = genderService;
     this.qualificationService = qualificationService;
     this.departmentService    = departmentService;
     this.designationService   = designationService;
     this.employeeService      = employeeService;
     this.experienceService    = experienceService;
     this.leaveRequestService  = leaveRequestService;
     this.vacationTypeService  = vacationTypeService;
 }
Exemple #4
0
 public LeaveController(ILeaveRequestService leaveRequestService)
 {
     this.leaveRequestService = leaveRequestService;
 }
Exemple #5
0
 public LeaveRequestController(ILeaveRequestService leaveService)
 {
     _leaveService = leaveService;
 }
Exemple #6
0
 public LeaveRequestsController(ILeaveRequestService _iLeaveRequestService)
 {
     iLeaveRequestService = _iLeaveRequestService;
 }