Пример #1
0
 public UserLeaveRequestController(IUserLeaveRequestService myService, UserManager <User> userManager, IMapper mapper, IUserLeaveTypeService userLeaveTypeService, IUnitOfWork unitOfWork, IUserLeaveAllocationService userLeaveAllocationService)
 {
     _myService                  = myService;
     _userManager                = userManager;
     _mapper                     = mapper;
     _userLeaveTypeService       = userLeaveTypeService;
     _unitOfWork                 = unitOfWork;
     _userLeaveAllocationService = userLeaveAllocationService;
 }
 public UserLeaveAllocationController(IUserLeaveAllocationService myService, IMapper mapper, UserManager <User> userManager)
 {
     _myService   = myService;
     _mapper      = mapper;
     _userManager = userManager;
 }