public LeaveManagementController(ILeaveManagementRepository leaveManagementRepository, UserManager <ApplicationUser> userManager, IMSDbContext iMSDbContext, IInstituteUserMappingHelperService instituteUserMappingHelperService, ITemplateManagementRepository templateManagementRepository, INotificationManagementRepository notificationManagementRepository) : base(instituteUserMappingHelperService) { _leaveManagementRepository = leaveManagementRepository; _userManager = userManager; _iMSDbContext = iMSDbContext; _templateManagementRepository = templateManagementRepository; _notificationManagementRepository = notificationManagementRepository; }
//ILeaveManagementRepository context2 = new LeaveManagementDB(); public HomeController(ILeaveManagementRepository context) { _context = context; }
public LeaveManagementService(SessionHelper helper, ILeaveManagementRepository repository) : base(helper) { this._repository = repository; }
public UserController(ILeaveManagementRepository repo, DataContext context, IMapper mapper) { _mapper = mapper; _repo = repo; _context = context; }