Esempio n. 1
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;
 }
Esempio n. 2
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 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 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;
 }
Esempio n. 5
0
 public AmazonMarketPlacesController(
     IEzbobWorkplaceContext context,
     DatabaseDataHelper helper,
     ISession session,
     CustomerMarketPlaceRepository customerMarketPlaceRepository,
     AskvilleRepository askvilleRepository,
     IMPUniqChecker mpChecker,
     CustomerRepository customerRepository)
 {
     _context         = context;
     _helper          = helper;
     m_oServiceClient = new ServiceClient();
     _session         = session;
     _customerMarketPlaceRepository = customerMarketPlaceRepository;
     _askvilleRepository            = askvilleRepository;
     _mpChecker       = mpChecker;
     _askvilleService = new AmazonServiceAskville(CurrentValues.Instance.AmazonAskvilleLogin,
                                                  CurrentValues.Instance.AmazonAskvillePassword);
     _customerRepository = customerRepository;
 }