public LoanServices(User pUser) : base(pUser) { _user = pUser; _loanManager = new LoanManager(pUser); _instalmentManager = new InstallmentManager(pUser); _clientManager = new ClientManager(pUser, true, true); _branchService = new BranchService(pUser); _econimcActivityServices = new EconomicActivityServices(pUser); _ePs = ServicesProvider.GetInstance().GetEventProcessorServices(); _accountingServices = new AccountingServices(pUser); _fundingLineServices = new FundingLineServices(pUser); _savingServices = new SavingServices(pUser); _savingEventManager = new SavingEventManager(pUser); var settings = ApplicationSettings.GetInstance(string.Empty); var nonWorkingDate = NonWorkingDateSingleton.GetInstance(string.Empty); _configurationFactory = new OctopusScheduleConfigurationFactory(nonWorkingDate, settings); MefContainer.Current.Bind(this); }
public LoanServices(User pUser) : base(pUser) { _user = pUser; _loanManager = new LoanManager(pUser); _instalmentManager = new InstallmentManager(pUser); _clientManager = new ClientManager(pUser, true, true); _branchService = new BranchService(pUser); _econimcActivityServices = new EconomicActivityServices(pUser); _ePs = ServicesProvider.GetInstance().GetEventProcessorServices(); _accountingServices = new AccountingServices(pUser); _fundingLineServices = new FundingLineServices(pUser); _savingServices = new SavingServices(pUser); _savingEventManager = new SavingEventManager(pUser); }