Пример #1
0
 public HomeController(INewService newService, IWorkContext workContext, ICountryService countryService, IGoodsTypeService goodsTypeService, ICustomerService customerService, IAuthenticationService authenticationService)
 {
     _newService            = newService;
     _workContext           = workContext;
     _countryService        = countryService;
     _goodsTypeService      = goodsTypeService;
     _customerService       = customerService;
     _authenticationService = authenticationService;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public JoinService(IServiceProvider serviceProvider)
 {
     _storageService       = serviceProvider.GetRequiredService <IStorageService>();
     _goodsService         = serviceProvider.GetRequiredService <IGoodsService>();
     _goodsTypeService     = serviceProvider.GetRequiredService <IGoodsTypeService>();
     _usersService         = serviceProvider.GetRequiredService <IUsersService>();
     _regionService        = serviceProvider.GetRequiredService <IRegionService>();
     _goodsStorageService  = serviceProvider.GetRequiredService <IGoodsStorageService>();
     _storageRegionService = serviceProvider.GetRequiredService <IStorageRegionService>();
 }
Пример #4
0
 public LeaveService(IServiceProvider serviceProvider)
 {
     _goodsStorageService = serviceProvider.GetRequiredService <IGoodsStorageService>();
     _unitOfWork          = serviceProvider.GetRequiredService <IUnitOfWork>();
     _goodsService        = serviceProvider.GetRequiredService <IGoodsService>();
     _regionService       = serviceProvider.GetRequiredService <IRegionService>();
     _storageService      = serviceProvider.GetRequiredService <IStorageService>();
     _goodsTypeService    = serviceProvider.GetRequiredService <IGoodsTypeService>();
     _usersService        = serviceProvider.GetRequiredService <IUsersService>();
     _repository          = serviceProvider.GetRequiredService <IRepository <GoodsLeave, int> >();
 }
Пример #5
0
 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;
 }
Пример #6
0
 public GoodsTypeController(IGoodsTypeService goodsTypeService)
 {
     _goodsTypeService = goodsTypeService;
 }