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
Example #2
0
 public YodleeMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper dbHelper,
     MarketPlaceRepository mpTypes,
     YodleeMpUniqChecker mpChecker,
     YodleeBanksRepository yodleeBanksRepository,
     YodleeAccountsRepository yodleeAccountsRepository,
     CompanyFilesMetaDataRepository companyFilesMetaDataRepository)
 {
     this.context                        = context;
     this.dbHelper                       = dbHelper;
     this.mpTypes                        = mpTypes;
     this.customer                       = context.Customer;
     this.mpChecker                      = mpChecker;
     this.serviceClient                  = new ServiceClient();
     this.yodleeBanksRepository          = yodleeBanksRepository;
     this.yodleeAccountsRepository       = yodleeAccountsRepository;
     this.companyFilesMetaDataRepository = companyFilesMetaDataRepository;
 }