public CustomerRelationsController(
     CustomerRelationsRepository customerRelationsRepository,
     LoanRepository loanRepository,
     ISession session,
     CRMRanksRepository crmRanksRepository,
     CRMStatusesRepository crmStatusesRepository,
     CRMActionsRepository crmActionsRepository,
     CustomerRelationFollowUpRepository customerRelationFollowUpRepository,
     CustomerRelationStateRepository customerRelationStateRepository,
     CustomerRepository customerRepository,
     IWorkplaceContext context)
 {
     this._customerRelationsRepository = customerRelationsRepository;
     this._loanRepository        = loanRepository;
     this._session               = session;
     this._crmRanksRepository    = crmRanksRepository;
     this._crmStatusesRepository = crmStatusesRepository;
     this._crmActionsRepository  = crmActionsRepository;
     this._customerRelationFollowUpRepository = customerRelationFollowUpRepository;
     this._customerRelationStateRepository    = customerRelationStateRepository;
     this.customerRepository = customerRepository;
     this.frequentActionItemsForCustomerRepository = new FrequentActionItemsForCustomerRepository(session);
     this._context       = context;
     this._serviceClient = new ServiceClient();
 }         // constructor
Пример #2
0
 public PropertiesModelBuilder(IWorkplaceContext context)
 {
     this.context = context;
     this.landRegistryModelBuilder = new LandRegistryModelBuilder();
     this.fileRepo      = ObjectFactory.GetInstance <NHibernateRepositoryBase <MP_AlertDocument> >();
     this.serviceClient = new ServiceClient();
 }
Пример #3
0
        }         // CreateJsonError

        public HmrcManualAccountManager(
            bool hideRealError,
            CustomerRepository customers,
            DatabaseDataHelper helper,
            MarketPlaceRepository mpTypes,
            CGMPUniqChecker mpChecker,
            IWorkplaceContext context
            )
        {
            if (hmrcVendorInfo == null)
            {
                lock (lockVendorInfo) {
                    if (hmrcVendorInfo == null)
                    {
                        hmrcVendorInfo = Configuration.Instance.GetVendorInfo("HMRC");
                    }
                }         // lock
            }             // if

            lock (lockVendorInfo) {
                this.vendorInfo = hmrcVendorInfo;
            }             // lock

            this.hideRealError     = hideRealError;
            this.customers         = customers;
            this.databaseHelper    = helper;
            this.mpTypes           = mpTypes;
            this.uniquenessChecker = mpChecker;
            this.context           = context;

            this.serviceClient = new ServiceClient();
        }         // constructor
Пример #4
0
 public MarketPlacesController(CustomerRepository customers,
                               CustomerMarketPlaceRepository customerMarketplaces,
                               WebMarketPlacesFacade marketPlaces,
                               MP_TeraPeakOrderItemRepository teraPeakOrderItems,
                               YodleeAccountsRepository yodleeAccountsRepository,
                               YodleeSearchWordsRepository yodleeSearchWordsRepository,
                               YodleeGroupRepository yodleeGroupRepository,
                               YodleeRuleRepository yodleeRuleRepository,
                               YodleeGroupRuleMapRepository yodleeGroupRuleMapRepository,
                               ISession session,
                               CompanyFilesMetaDataRepository companyFiles,
                               IWorkplaceContext context,
                               DatabaseDataHelper helper,
                               MarketPlaceRepository mpTypes
                               )
 {
     _customerMarketplaces         = customerMarketplaces;
     _marketPlaces                 = marketPlaces;
     m_oServiceClient              = new ServiceClient();
     _customers                    = customers;
     _teraPeakOrderItems           = teraPeakOrderItems;
     _yodleeAccountsRepository     = yodleeAccountsRepository;
     _yodleeSearchWordsRepository  = yodleeSearchWordsRepository;
     _yodleeGroupRepository        = yodleeGroupRepository;
     _yodleeRuleRepository         = yodleeRuleRepository;
     _yodleeGroupRuleMapRepository = yodleeGroupRuleMapRepository;
     _session      = session;
     _companyFiles = companyFiles;
     _context      = context;
     _helper       = helper;
     _mpTypes      = mpTypes;
 }         // constructor
Пример #5
0
 public ReportController(
     ReportUsersMapsRepository reportsUsersRepository,
     IWorkplaceContext context,
     ReportRepository reportRepository
     )
 {
     this.reportsUsersRepository = reportsUsersRepository;
     this.context          = context;
     this.reportRepository = reportRepository;
 }         // constructor
Пример #6
0
 public CreditBureauController(
     CustomerRepository customers,
     CreditBureauModelBuilder creditBureauModelBuilder,
     IWorkplaceContext context)
 {
     _customers                = customers;
     m_oServiceClient          = new ServiceClient();
     _creditBureauModelBuilder = creditBureauModelBuilder;
     _context = context;
     _concentAgreementHelper = new ConcentAgreementHelper();
 }
Пример #7
0
 public CrossCheckController(
     CustomerRepository customerRepository,
     DirectorRepository directorRepository,
     CustomerAddressRepository customerAddressRepository,
     ISession oSession, IWorkplaceContext context)
 {
     this.m_oServiceClient           = new ServiceClient();
     this._customerRepository        = customerRepository;
     this._customerAddressRepository = customerAddressRepository;
     this._directorRepository        = directorRepository;
     this.m_oSession = oSession;
     this._context   = context;
 }         // constructor
 public StrategySettingsController(
     CampaignRepository campaignRepository,
     CampaignTypeRepository campaignTypeRepository,
     CustomerRepository customerRepository,
     IWorkplaceContext context
     )
 {
     this._campaignRepository     = campaignRepository;
     this._campaignTypeRepository = campaignTypeRepository;
     this._customerRepository     = customerRepository;
     this._context      = context;
     this.serviceClient = new ServiceClient();
 }
Пример #9
0
 public CustomersController(
     CustomerStatusesRepository customerStatusesRepo,
     IWorkplaceContext context,
     LoanLimit limit,
     MarketPlaceRepository mpType,
     RejectReasonRepository rejectReasonRepo
     )
 {
     this.context              = context;
     this.loanLimit            = limit;
     this.mpType               = mpType;
     this.customerStatusesRepo = customerStatusesRepo;
     this.rejectReasonRepo     = rejectReasonRepo;
     this.serviceClient        = new ServiceClient();
 }         // constructor
Пример #10
0
        public PaymentAccountsController(
            CustomerRepository customersRepository,
            ICustomerMarketPlaceRepository customerMarketplacesReporsitory,
            IWorkplaceContext context,
            ISortCodeChecker sortCodeChecker,
            BankAccountUniqChecker bankAccountUniqChecker)
        {
            this.customersRepository             = customersRepository;
            this.serviceClient                   = new ServiceClient();
            this.customerMarketplacesReporsitory = customerMarketplacesReporsitory;

            this.context                = context;
            this.sortCodeChecker        = sortCodeChecker;
            this.bankAccountUniqChecker = bankAccountUniqChecker;
        }
Пример #11
0
 public UploadHmrcController(
     DatabaseDataHelper helper,
     MarketPlaceRepository mpTypes,
     CGMPUniqChecker mpChecker,
     CustomerRepository customers,
     IWorkplaceContext context
     )
 {
     this.vatAccountManager = new HmrcManualAccountManager(
         false,
         customers,
         helper,
         mpTypes,
         mpChecker,
         context
         );
 }         // constructor
Пример #12
0
        public LoanEditorController(
            ILoanRepository loans,
            ILoanOptionsRepository loanOptions,
            ChangeLoanDetailsModelBuilder builder,
            ICashRequestRepository cashRequests,
            ChangeLoanDetailsModelBuilder loanModelBuilder,
            LoanBuilder loanBuilder,
            ILoanChangesHistoryRepository history,
            IWorkplaceContext context,
            ILoanOptionsRepository loanOptionsRepository,
            ISession session)
        {
            this._loans                = loans;
            this._cashRequests         = cashRequests;
            this._loanModelBuilder     = loanModelBuilder;
            this._loanBuilder          = loanBuilder;
            this._history              = history;
            this._context              = context;
            this.loanOptionsRepository = loanOptionsRepository;

            this.serviceClient = new ServiceClient();
        }
Пример #13
0
 public CAISController(CaisReportsHistoryRepository caisReportsHistoryRepository, IWorkplaceContext context)
 {
     _caisReportsHistoryRepository = caisReportsHistoryRepository;
     m_oServiceClient = new ServiceClient();
     _context         = context;
 }
Пример #14
0
 public LogBookController(IWorkplaceContext context)
 {
     this.db      = DbConnectionGenerator.Get();
     this.context = context;
 }         // constructor
Пример #15
0
 public AccountSettingsController(IWorkplaceContext context)
 {
     this.context       = context;
     this.serviceClient = new ServiceClient();
 }         // constructor
Пример #16
0
 public YodleeRecheckController(CustomerMarketPlaceRepository customerMarketplaces, IWorkplaceContext context)
 {
     m_oServiceClient      = new ServiceClient();
     _customerMarketplaces = customerMarketplaces;
     _context = context;
 }         // constructor
Пример #17
0
 public FundingController()
 {
     context       = ObjectFactory.GetInstance <IWorkplaceContext>();
     serviceClient = new ServiceClient();
 }
Пример #18
0
 public PricingModelCalculationsController(IWorkplaceContext context)
 {
     this.context       = context;
     this.serviceClient = new ServiceClient();
 }         // constructor
Пример #19
0
 public LoanLimit(IWorkplaceContext context)
 {
     this.context = context;
 }         // constructor