public VacationRequestController(IVacationRequestRepository requestrepo, IMapper mapper, UserManager <Employee> userManager, IVacationTypeRepository typerepo, IVacationAllocationRepository allocationrepo)
 {
     _requestrepo    = requestrepo;
     _mapper         = mapper;
     _userManager    = userManager;
     _typerepo       = typerepo;
     _allocationrepo = allocationrepo;
 }
예제 #2
0
 public VacationAllocationController(IVacationTypeRepository typerepo, IVacationAllocationRepository allocationrepo, IMapper mapper, UserManager <Employee> userManager, IEmployeeRepository employee)
 {
     _typerepo       = typerepo;
     _allocationrepo = allocationrepo;
     _mapper         = mapper;
     _userManager    = userManager;
     _employee       = employee;
 }