Пример #1
0
 public LeaveAllocationController(
     IRepositoryLeaveType leaverepo,
     IRepositoryLeaveAllocation leaveallocationrepo,
     IMapper mapper,
     UserManager <Employee> userManager
     )
 {
     _leaverepo           = leaverepo;
     _leaveallocationrepo = leaveallocationrepo;
     _mapper      = mapper;
     _userManager = userManager;
 }
 public LeaveTypesController(IRepositoryLeaveType repo, IMapper mapper)
 {
     _repo   = repo;
     _mapper = mapper;
 }