public CreditBureauModelBuilder(IExperianHistoryRepository experianHistoryRepository, IEzbobWorkplaceContext context)
 {
     this._experianHistoryRepository = experianHistoryRepository;
     this._context       = context;
     Errors              = new List <string>();
     this._serviceClient = new ServiceClient();
 }
Exemple #2
0
 public ApplicationInfoController(
     ICustomerRepository customerRepository,
     ICashRequestsRepository cashRequestsRepository,
     ILoanTypeRepository loanTypes,
     IDiscountPlanRepository discounts,
     IApprovalsWithoutAMLRepository approvalsWithoutAMLRepository,
     ILoanSourceRepository loanSources,
     IUsersRepository users,
     IEzbobWorkplaceContext context,
     CustomerPhoneRepository customerPhoneRepository,
     IExternalCollectionStatusesRepository externalCollectionStatusesRepository,
     LoanOptionsRepository loanOptionsRepository,
     ILoanRepository loanRepository,
     ServiceClient serviceClient)
 {
     this.customerRepository     = customerRepository;
     this.cashRequestsRepository = cashRequestsRepository;
     this.loanTypes = loanTypes;
     this.discounts = discounts;
     this.approvalsWithoutAmlRepository = approvalsWithoutAMLRepository;
     this.loanSources             = loanSources;
     this.users                   = users;
     this.context                 = context;
     this.customerPhoneRepository = customerPhoneRepository;
     this.externalCollectionStatusesRepository = externalCollectionStatusesRepository;
     this.loanOptionsRepository = loanOptionsRepository;
     this.loanRepository        = loanRepository;
     this.serviceClient         = serviceClient;
 }
Exemple #3
0
		public CompanyFilesMarketPlacesController(IEzbobWorkplaceContext context, DatabaseDataHelper dbHelper, CompanyFilesMetaDataRepository companyFilesMetaDataRepository) {
			this.context = context;
			this.customer = context.Customer;
			this.dbHelper = dbHelper;
			this.companyFilesMetaDataRepository = companyFilesMetaDataRepository;
			this.serviceClient = new ServiceClient();
		} // constructor
 public EsignaturesController(IEzbobWorkplaceContext oContext,
                              DirectorRepository directorRepository)
 {
     this.context            = oContext;
     this.directorRepository = directorRepository;
     this.serviceClient      = new ServiceClient();
 }         // constructor
Exemple #5
0
 public ScheduleController(IEzbobWorkplaceContext context, LoanBuilder loanBuilder, ILoanLegalRepository llrepo)
 {
     this.context       = context;
     this.loanBuilder   = loanBuilder;
     this.aprCalc       = new APRCalculator();
     this.serviceClient = new ServiceClient();
     this.loanLegalRepo = llrepo;
 }         // constructor
Exemple #6
0
 public LoanCreatorNoChecks(
     IPacnetService pacnetService,
     IAgreementsGenerator agreementsGenerator,
     IEzbobWorkplaceContext context,
     LoanBuilder loanBuilder,
     ISession session
     ) : base(pacnetService, agreementsGenerator, context, loanBuilder, session)
 {
 }
 public PropertiesController(IEzbobWorkplaceContext context,
                             CustomerRepository customerRepository,
                             CustomerAddressRepository customerAddressRepository, ServiceClient serviceClient)
 {
     this.customerRepository        = customerRepository;
     this.customerAddressRepository = customerAddressRepository;
     this.serviceClient             = serviceClient;
     this.context = context;
 }
Exemple #8
0
 public InvestorController(
     IEzbobWorkplaceContext context,
     ServiceClient serviceClient,
     InvestorModelBuilder investorModelBuilder)
 {
     this.context              = context;
     this.serviceClient        = serviceClient;
     this.investorModelBuilder = investorModelBuilder;
 }
 public WhatsNewController(
     IEzbobWorkplaceContext context,
     IWhatsNewCustomerMapRepository whatsNewCustomerMapRepository,
     IWhatsNewRepository whatsNewRepository
     )
 {
     this.context = context;
     this.whatsNewCustomerMapRepository = whatsNewCustomerMapRepository;
     this.whatsNewRepository            = whatsNewRepository;
 }         // constructor
 public AgreementsController(IEzbobWorkplaceContext context,
                             ILoanAgreementRepository agreements,
                             AgreementRenderer agreementRenderer,
                             ServiceClient serviceClient)
 {
     this.agreementRenderer = agreementRenderer;
     this.serviceClient     = serviceClient;
     this.context           = context;
     this.agreements        = agreements;
 }
 public CustomerRequestedLoanController(
     ServiceClient serviceClient,
     IEzbobWorkplaceContext oContext,
     CustomerRepository customerRepository
     )
 {
     this.serviceClient      = serviceClient;
     this.context            = oContext;
     this.customerRepository = customerRepository;
 }         // constructor
Exemple #12
0
 public BugsController(IBugRepository bugs,
                       IEzbobWorkplaceContext context,
                       ICustomerRepository customers,
                       IUsersRepository users)
 {
     _bugs      = bugs;
     _context   = context;
     _customers = customers;
     _users     = users;
 }
		public AgreementsModelBuilder(ILoanLegalRepository llrepo, IEzbobWorkplaceContext context = null) {
			this.loanLegalRepo = llrepo;
			this.aprCalc = new APRCalculator();

			this.serviceClient = new ServiceClient();
			this.repaymentCalculator = new RepaymentCalculator();
			this.context = context;

			this.log = new SafeILog(LogManager.GetLogger(GetType()));
		} // constructor
 public SageMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper helper,
     MarketPlaceRepository mpTypes
     )
 {
     _mpTypes         = mpTypes;
     _customer        = context.Customer;
     _helper          = helper;
     m_oServiceClient = new ServiceClient();
 }
 public ProfileController(
     CustomerModelBuilder oCustomerModelBuilder,
     IEzbobWorkplaceContext oContext,
     ISession oSession,
     ISecurityQuestionRepository questions)
 {
     m_oCustomerModelBuilder = oCustomerModelBuilder;
     m_oContext       = oContext;
     m_oServiceClient = new ServiceClient();
     m_oSession       = oSession;
     this.questions   = questions;
 }         // constructor
Exemple #16
0
        public FreeAgentMarketPlacesController(
            IEzbobWorkplaceContext context,
            DatabaseDataHelper helper,
            MarketPlaceRepository mpTypesRepo
            )
        {
            this.customer    = context.Customer;
            this.dbHelper    = helper;
            this.mpTypesRepo = mpTypesRepo;

            this.serviceClient = new ServiceClient();
            this.connector     = new FreeAgentConnector();
        }         // constructor
Exemple #17
0
 public CGMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper helper,
     MarketPlaceRepository mpTypes,
     CGMPUniqChecker mpChecker
     )
 {
     _context         = context;
     _helper          = helper;
     _mpTypes         = mpTypes;
     _mpChecker       = mpChecker;
     m_oServiceClient = new ServiceClient();
 }         // constructor
Exemple #18
0
 public LoanOptionsController(
     ILoanOptionsRepository loanOptionsRepository,
     ILoanRepository loanRepository,
     ICustomerStatusHistoryRepository customerStatusHistoryRepository,
     CustomerStatusesRepository customerStatusesRepository, IEzbobWorkplaceContext context)
 {
     this._loanOptionsRepository          = loanOptionsRepository;
     this._loanRepository                 = loanRepository;
     this._caisFlagRepository             = ObjectFactory.GetInstance <CaisFlagRepository>();
     this.customerStatusHistoryRepository = customerStatusHistoryRepository;
     this.customerStatusesRepository      = customerStatusesRepository;
     this.context       = context;
     this.serviceClient = new ServiceClient();
 }
Exemple #19
0
 public EkmMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper helper,
     MarketPlaceRepository mpTypes,
     IMPUniqChecker mpChecker
     )
 {
     _context         = context;
     _mpTypes         = mpTypes;
     _customer        = context.Customer;
     _mpChecker       = mpChecker;
     m_oServiceClient = new ServiceClient();
     _helper          = helper;
 }
 public GetCashController(
     IEzbobWorkplaceContext context,
     ICustomerNameValidator validator,
     IPacnetPaypointServiceLogRepository logRepository,
     ICustomerRepository customerRepository,
     ILoanCreator loanCreator)
 {
     this.context            = context;
     this.serviceClient      = new ServiceClient();
     this.validator          = validator;
     this.logRepository      = logRepository;
     this.customerRepository = customerRepository;
     this.loanCreator        = loanCreator;
 }
Exemple #21
0
 public AgreementController(
     AgreementRenderer agreementRenderer,
     IEzbobWorkplaceContext context,
     AgreementsModelBuilder builder,
     LoanBuilder loanBuilder
     )
 {
     this.agreementRenderer = agreementRenderer;
     this.context           = context;
     this.builder           = builder;
     this.customer          = this.context.Customer;
     this.loanBuilder       = loanBuilder;
     this.serviceClient     = new ServiceClient();
 }        // constructor
Exemple #22
0
 public WizardController(
     IEzbobWorkplaceContext context,
     ISecurityQuestionRepository questions,
     CustomerModelBuilder customerModelBuilder,
     ISession session,
     IVipRequestRepository vipRequestRepository
     )
 {
     this.context              = context;
     this.questions            = questions;
     this.customerModelBuilder = customerModelBuilder;
     this.session              = session;
     this.vipRequestRepository = vipRequestRepository;
     this.DB = DbConnectionGenerator.Get(Log);
 }         // constructor
Exemple #23
0
 public GenerateAgreementsController(
     IEzbobWorkplaceContext context,
     AgreementsGenerator agreementsGenerator,
     ILoanRepository loanRepository,
     CustomerRepository customersRepository,
     ILoanLegalRepository llrepo
     )
 {
     this.context                = context;
     this.loanLegalRepo          = llrepo;
     this.agreementsGenerator    = agreementsGenerator;
     this.loanRepository         = loanRepository;
     this.concentAgreementHelper = new ConcentAgreementHelper();
     this.customersRepository    = customersRepository;
 }         // constructor
Exemple #24
0
 public EbayMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper helper,
     CustomerRepository customers,
     ISession session,
     eBayServiceHelper eBayServiceHelper,
     IMPUniqChecker mpChecker)
 {
     this.context           = context;
     this.helper            = helper;
     this.customers         = customers;
     this.session           = session;
     this.eBayServiceHelper = eBayServiceHelper;
     this.serviceClient     = new ServiceClient();
     this.mpChecker         = mpChecker;
 }
        public PaypointController(
            IEzbobWorkplaceContext context,
            IPacnetPaypointServiceLogRepository pacnetPaypointServiceLogRepository,
            IPaypointTransactionRepository paypointTransactionRepository,
            PayPointApi paypoint,
            ILoanOptionsRepository loanOptionsRepository
            )
        {
            this.context       = context;
            this.logRepository = pacnetPaypointServiceLogRepository;
            this.paypointTransactionRepository = paypointTransactionRepository;
            this.paypointApi           = paypoint;
            this.loanOptionsRepository = loanOptionsRepository;

            this.serviceClient = new ServiceClient();
        }         // constructor
Exemple #26
0
 public LoanCreator(
     IPacnetService pacnetService,
     IAgreementsGenerator agreementsGenerator,
     IEzbobWorkplaceContext context,
     LoanBuilder loanBuilder,
     ISession session
     )
 {
     this.pacnetService       = pacnetService;
     this.serviceClient       = new ServiceClient();
     this.agreementsGenerator = agreementsGenerator;
     this.context             = context;
     this.loanBuilder         = loanBuilder;
     this.session             = session;
     this.tranMethodRepo      = ObjectFactory.GetInstance <DatabaseDataHelper>().LoanTransactionMethodRepository;
 }         // constructor
        public PayPointMarketPlacesController(
            IEzbobWorkplaceContext context,
            DatabaseDataHelper helper,
            MarketPlaceRepository mpTypes,
            IMPUniqChecker mpChecker)
        {
            _context         = context;
            _helper          = helper;
            _mpTypes         = mpTypes;
            _customer        = context.Customer;
            _mpChecker       = mpChecker;
            m_oServiceClient = new ServiceClient();

            var payPointServiceInfo = new PayPointServiceInfo();

            _payPointMarketTypeId = _mpTypes.GetAll().First(a => a.InternalId == payPointServiceInfo.InternalId).Id;
        }
 public LoanHistoryController(
     CustomerRepository customersRepository,
     PaymentRolloverRepository rolloverRepository,
     LoanScheduleRepository loanScheduleRepository,
     IEzbobWorkplaceContext context,
     LoanRepository loanRepository,
     PayPointApi paypoint,
     ServiceClient serviceClient)
 {
     this.customerRepository     = customersRepository;
     this.rolloverRepository     = rolloverRepository;
     this.loanScheduleRepository = loanScheduleRepository;
     this.context        = context;
     this.loanRepository = loanRepository;
     this.paypoint       = paypoint;
     this.serviceClient  = serviceClient;
 }
 public CollectionStatusController(
     ICustomerRepository customerRepository,
     CustomerStatusesRepository customerStatusesRepository,
     LoanOptionsRepository loanOptionsRepository,
     ICustomerStatusHistoryRepository customerStatusHistoryRepository, ISession session,
     ServiceClient serviceClient,
     IEzbobWorkplaceContext context,
     ILoanRepository loanRepository)
 {
     this.customerRepository              = customerRepository;
     this.customerStatusesRepository      = customerStatusesRepository;
     this.loanOptionsRepository           = loanOptionsRepository;
     this.customerStatusHistoryRepository = customerStatusHistoryRepository;
     this.session        = session;
     this.serviceClient  = serviceClient;
     this.context        = context;
     this.loanRepository = loanRepository;
 }
 public PaymentAccountsController(
     DatabaseDataHelper dbHelper,
     CustomerRepository customersRepository,
     IEzbobWorkplaceContext context,
     IMPUniqChecker mpChecker,
     IYodleeAccountChecker yodleeAccountChecker,
     BankAccountUniqChecker bankAccountUniqChecker,
     ISortCodeChecker sortCodeChecker)
 {
     this.dbHelper               = dbHelper;
     this.customersRepository    = customersRepository;
     this.context                = context;
     this.serviceClient          = new ServiceClient();
     this.mpChecker              = mpChecker;
     this.yodleeAccountChecker   = yodleeAccountChecker;
     this.bankAccountUniqChecker = bankAccountUniqChecker;
     this.sortCodeChecker        = sortCodeChecker;
 }