Exemple #1
0
 public RoundDateController(IMapper mapper,
                            IUnitOfWork unitOfWork,
                            ApplicationContext context,
                            IRoundDatesService roundDatesService)
 {
     this.mapper        = mapper;
     this.unitOfWork    = unitOfWork;
     _context           = context;
     _roundDatesService = roundDatesService;
 }
        public PensionRequestService(IPensionRequestRepository pensionRequestRepository,
                                     IMetlifeDataRepository metlifeDataRepository,
                                     IVestingRulesService vestingRulesService, IPensionEnrollmentRulesService pensionEnrollmentRulesService,
                                     IAppSettingService appSettingService, IEmployeeRepository employeeRepository, IRoundDatesService roundDatesService)

        {
            this.pensionRequestRepository = pensionRequestRepository;
            this.metlifeDataRepository    = metlifeDataRepository;
            this.employeeRepository       = employeeRepository;

            this.vestingRulesService           = vestingRulesService;
            this.pensionEnrollmentRulesService = pensionEnrollmentRulesService;
            this.appSettingService             = appSettingService;
            _roundDatesService = roundDatesService;

            vestingRulesList    = vestingRulesService.GetVestingRules();
            enrollmentRulesList = pensionEnrollmentRulesService.GetEnrollmentRules();
            appSettingService.GetPensionMaxPercent();
        }