public CustomerService(IWorkContext workContext, ICustomerRepository customerRepository, ICustomerCreditInfoRepository customerCreditInfoRepository, IPaymentTypeRepository paymentTypeRepository, IMoneyChangeTypeInfoRepository moneyChangeTypeInfoRepository, ICustomerAmountRecordRepository customerAmountRecordRepository, IFreightService freightService, ICustomerUpdatedLogRepository customerUpdatedLogRepository, ISettlementInfoRepository settlementInfoRepository, ICustomerBalanceRepository customerBalanceRepository, ICustomerManagerInfoRepository customerManagerInfoRepository, IInStorageInfoRepository inStorageInfoRepository) { _customerRepository = customerRepository; _customerCreditInfoRepository = customerCreditInfoRepository; _workContext = workContext; _paymentTypeRepository = paymentTypeRepository; _moneyChangeTypeInfoRepository = moneyChangeTypeInfoRepository; _customerAmountRecordRepository = customerAmountRecordRepository; _customerBalanceRepository = customerBalanceRepository; _customerManagerInfoRepository = customerManagerInfoRepository; _customerUpdatedLogRepository = customerUpdatedLogRepository; _settlementInfoRepository = settlementInfoRepository; _freightService = freightService; _inStorageInfoRepository = inStorageInfoRepository; }
public PrintController(IWayBillTemplateService wayBillTemplateService, ICustomerService customerService, IFreightService freightService, ICountryService countryService) { _wayBillTemplateService = wayBillTemplateService; _customerService = customerService; _freightService = freightService; _countryService = countryService; }
public AccountController(ICustomerService customerService, IAuthenticationService authenticationService, IFreightService freightService, ICustomerOrderService customerOrderService, IWorkContext workContext) { _customerService = customerService; _authenticationService = authenticationService; _freightService = freightService; _customerOrderService = customerOrderService; _workContext = workContext; }
public FubController(IFubService fubService, ICountryService countryService, IWayBillInfoRepository wayBillInfoRepository, IWorkContext workContext, IFreightService freightService) { _fubService = fubService; _countryService = countryService; _wayBillInfoRepository = wayBillInfoRepository; _workContext = workContext; _freightService = freightService; }
public WayBillController(IInStorageService inStorageService, IOrderService orderService, IFreightService freightService, ICustomerService customerService, IWayBillTemplateService wayBillTemplateService, IWayBillInfoRepository wayBillInfoRepository) { _inStorageService = inStorageService; _orderService = orderService; _freightService = freightService; _customerService = customerService; _wayBillTemplateService = wayBillTemplateService; _wayBillInfoRepository = wayBillInfoRepository; }
public LmsController(IOrderService orderService, ICustomerService customerService, IFreightService freightService, IWorkContext workContext) { _orderService = orderService; _customerService = customerService; _freightService = freightService; _workContext = workContext; }
public BillingController(IWorkContext workContext, ICountryService countryService, INewService newService, IGoodsTypeService goodsTypeService, IFreightService freightService, ICustomerService customerService) { _workContext = workContext; _countryService = countryService; _goodsTypeService = goodsTypeService; _freightService = freightService; _customerService = customerService; _newService = newService; }
public CustomerController(ICustomerService customerService, IFeeManageService feeManageService, IFreightService freightService, IOperateLogServices operateLogServices, IWorkContext workContext, ICustomerSourceInfoRepository customerSourceInfoRepository ) { _customerService = customerService; _feeManageService = feeManageService; _freightService = freightService; _operateLogServices = operateLogServices; _workContext = workContext; _customerSourceInfoRepository = customerSourceInfoRepository; }
public ReportService(IUnitOfWork unitOfWork, IPathService pathService, IDriverService driverService, IFreightService freightService) { _pathService = pathService; _driverService = driverService; _freightService = freightService; _reports = unitOfWork.Set<Report>(); _subReports = unitOfWork.Set<SubReport>(); }
public BillingController(IBillingService billingService, ICustomerService customerService, IFreightService freightService, IFeeManageService feeManageService, ICountryService countryService, IGoodsTypeService goodsTypeService, IWorkContext workContext) { _billingService = billingService; _feeManageService = feeManageService; _goodsTypeService = goodsTypeService; _countryService = countryService; _workContext = workContext; _freightService = freightService; _customerService = customerService; }
public PrintController( ICustomerOrderService customerOrderService, IFreightService freightService, ICountryService countryService, IWayBillTemplateService wayBillTemplateService, ICustomerService customerService, IWayBillInfoRepository wayBillInfoRepository, IOperateLogServices operateLogServices, IWorkContext workContext) { _customerOrderService = customerOrderService; _freightService = freightService; _countryService = countryService; _wayBillTemplateService = wayBillTemplateService; _customerService = customerService; _wayBillInfoRepository = wayBillInfoRepository; _operateLogServices = operateLogServices; _workContext = workContext; }
public OutStorageService(IWayBillInfoRepository wayBillInfoRepository, IVenderFeeLogRepository venderFeeLogRepository, IOutStorageInfoRepository outStorageInfoRepository, IFreightService freightService, ICustomerOrderStatusRepository customerOrderStatusRepository = null, IDeliveryChannelConfigurationRepository deliveryChannelConfigurationRepository = null, IReceivingExpensRepository receivingExpensRepository = null, IReceivingExpenseInfoRepository receivingExpenseInfoRepository = null, IDeliveryFeeRepository deliveryFeeRepository = null, IDeliveryFeeInfoRepository deliveryFeeInfoRepository = null, IWaybillPackageDetailRepository waybillPackageDetailRepository = null, IWorkContext workContext = null, ITotalPackageInfoRepository totalPackageInfoRepository = null, ITotalPackageOutStorageRelationalInfoRepository totalPackageOutStorageRelationalInfoRepository = null, ITotalPackageTraceInfoRepository totalPackageTraceInfoRepository = null, ISystemConfigurationRepository systemConfigurationRepository = null, IMailPostBagInfoRepository mailPostBagInfoRepository = null, ICustomerOrderInfoRepository customerOrderInfoRepository = null, IB2CPreAlertLogsRepository b2CPreAlertLogsRepository = null) { _workContext = workContext; _wayBillInfoRepository = wayBillInfoRepository; _venderFeeLogRepository = venderFeeLogRepository; _outStorageInfoRepository = outStorageInfoRepository; _customerOrderStatusRepository = customerOrderStatusRepository; _deliveryChannelConfigurationRepository = deliveryChannelConfigurationRepository; //_inTackingLogInfoRepository = inTackingLogInfoRepository; _receivingExpensRepository = receivingExpensRepository; _receivingExpenseInfoRepository = receivingExpenseInfoRepository; _deliveryFeeRepository = deliveryFeeRepository; _deliveryFeeInfoRepository = deliveryFeeInfoRepository; _freightService = freightService; _waybillPackageDetailRepository = waybillPackageDetailRepository; _freightService = freightService; _totalPackageInfoRepository = totalPackageInfoRepository; _totalPackageOutStorageRelationalInfoRepository = totalPackageOutStorageRelationalInfoRepository; _totalPackageTraceInfoRepository = totalPackageTraceInfoRepository; _systemConfigurationRepository = systemConfigurationRepository; _mailPostBagInfoRepository = mailPostBagInfoRepository; _customerOrderInfoRepository = customerOrderInfoRepository; _b2CPreAlertLogsRepository = b2CPreAlertLogsRepository; }
public TestController() { EngineContext.Initialize(false); ////set dependency resolver //var dependencyResolver = new GrouponDependencyResolver(); //System.Web.Mvc.DependencyResolver.SetResolver(dependencyResolver); _freightService = EngineContext.Current.Resolve <IFreightService>(); _orderService = EngineContext.Current.Resolve <IOrderService>(); //// initialize cache //Cache.InitializeWith(new CacheProviderFactory(ConfigurationManager.AppSettings["CacheProvider"])); Config.SetSystemCode("S012"); var typeAdapterFactory = EngineContext.Current.Resolve <ITypeAdapterFactory>(); TypeAdapterFactory.SetCurrent(typeAdapterFactory); //_freightService = freightService; //_orderService = orderService; }
public ReturnGoodsService(IReturnGoodsRepository returnGoodsRepository, IWayBillInfoRepository wayBillInfoRepository, ICustomerOrderInfoRepository customerOrderInfoRepository, ICustomerBalanceRepository customerBalanceRepository, ICustomerAmountRecordRepository customerAmountRecordRepository, IWorkContext workContext, IWayBillEventLogRepository wayBillEventLogRepository, IFreightService freightService, IFinancialService financialService, IReceivingExpenseInfoRepository receivingExpenseInfoRepository, IReceivingExpensRepository receivingExpensRepository) { _returnGoodsRepository = returnGoodsRepository; _wayBillInfoRepository = wayBillInfoRepository; _customerOrderInfoRepository = customerOrderInfoRepository; _customerAmountRecordRepository = customerAmountRecordRepository; _customerBalanceRepository = customerBalanceRepository; _wayBillEventLogRepository = wayBillEventLogRepository; _freightService = freightService; _workContext = workContext; _financialService = financialService; _receivingExpenseInfoRepository = receivingExpenseInfoRepository; _receivingExpensRepository = receivingExpensRepository; }
public FreightController(IFreightService freightService, IMapper mapper) { _freightService = freightService; _mapper = mapper; }
public FreightController(IFreightService service) { _service = service; }
public RemoteAddressController(IFreightService freightService, INewService newService, ICountryService countryService) { _freightService = freightService; _newService = newService; _countryService = countryService; }
public TrackController(ITrackingService trackingService, IFreightService iFreightService, ITrackingNumberService iTrackingNumberService) { _trackingService = trackingService; _iFreightService = iFreightService; _trackingNumberService = iTrackingNumberService; }
public PostalController(IOrderService orderService, IFreightService freightService) { _freightService = freightService; _orderService = orderService; }
//public static DateTime endTime = DateTime.Parse("2000-01-01"); //DateTime.TryParse(2010-01-01); public TrackingController(IOrderService orderService, IFreightService freightService) { _freightService = freightService; _orderService = orderService; }