public UnitOfMeasureController(IRepository <UnitOfMeasure> unitOfMeasureRepository,
                                IUnitOfMeasureService unitOfMeasureService,
                                ILocalizationService localizationService,
                                IPermissionService permissionService,
                                HttpContextBase httpContext,
                                IWorkContext workContext,
                                IDbContext dbContext)
 {
     this._unitOfMeasureRepository = unitOfMeasureRepository;
     this._unitOfMeasureService    = unitOfMeasureService;
     this._localizationService     = localizationService;
     this._permissionService       = permissionService;
     this._httpContext             = httpContext;
     this._workContext             = workContext;
     this._dbContext = dbContext;
 }
Exemplo n.º 2
0
 public ProductController(IProductService productService, IVatCategoryService vatCategoryService, IVatService vatService, IUnitOfMeasureTypeService unitOfMeasureTypeService, IUnitOfMeasureService unitOfMeasureService,
                          ISubCategoryService subCategoryService, ICategoryService categoryService, IPackagingTypeService packagingTypeService,
                          IPackagingService packagingService, ISubBrandService subBrandService, IBrandService brandService, IOptions <AppConfig> appConfig)
 {
     _appConfig                = appConfig;
     _productService           = productService;
     _brandService             = brandService;
     _subBrandService          = subBrandService;
     _packagingService         = packagingService;
     _packagingTypeService     = packagingTypeService;
     _categoryService          = categoryService;
     _subCategoryService       = subCategoryService;
     _unitOfMeasureService     = unitOfMeasureService;
     _unitOfMeasureTypeService = unitOfMeasureTypeService;
     _vatCategoryService       = vatCategoryService;
     _vatService               = vatService;
 }
Exemplo n.º 3
0
 public DirectSalesOrderController(
     IOrganizationService OrganizationService,
     IEditedPriceStatusService EditedPriceStatusService,
     IStoreService StoreService,
     IAppUserService AppUserService,
     IUnitOfMeasureService UnitOfMeasureService,
     IUnitOfMeasureGroupingService UnitOfMeasureGroupingService,
     IDirectSalesOrderService DirectSalesOrderService,
     IProductGroupingService ProductGroupingService,
     IProductTypeService ProductTypeService,
     IProductService ProductService,
     IRequestStateService RequestStateService,
     ISupplierService SupplierService,
     IStoreGroupingService StoreGroupingService,
     IStoreStatusService StoreStatusService,
     IStoreTypeService StoreTypeService,
     ITaxTypeService TaxTypeService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.OrganizationService          = OrganizationService;
     this.EditedPriceStatusService     = EditedPriceStatusService;
     this.StoreService                 = StoreService;
     this.AppUserService               = AppUserService;
     this.UnitOfMeasureService         = UnitOfMeasureService;
     this.UnitOfMeasureGroupingService = UnitOfMeasureGroupingService;
     this.DirectSalesOrderService      = DirectSalesOrderService;
     this.ProductGroupingService       = ProductGroupingService;
     this.ProductTypeService           = ProductTypeService;
     this.ProductService               = ProductService;
     this.RequestStateService          = RequestStateService;
     this.SupplierService              = SupplierService;
     this.StoreGroupingService         = StoreGroupingService;
     this.StoreStatusService           = StoreStatusService;
     this.StoreTypeService             = StoreTypeService;
     this.TaxTypeService               = TaxTypeService;
     this.CurrentContext               = CurrentContext;
 }
Exemplo n.º 4
0
 public UnitOfMeasures(IUnitOfMeasureService iUnitOfMeasureService)
 {
     _iUnitOfMeasureService = iUnitOfMeasureService;
 }
Exemplo n.º 5
0
 public UnitOfMeasureController(IPermissionService permissionService, IUserContext userContext, IUnitOfMeasureService _unitOfMeasureService)
     : base(userContext, permissionService)
 {
     this.unitOfMeasureService = _unitOfMeasureService;
 }
 public UnitOfMeasureController(IUnitOfMeasureService unitOfMeasureService, IResponseDTO response)
 {
     _unitOfMeasureService = unitOfMeasureService;
     _response             = response;
 }
 public UnitOfMeasureController(IMapper mapper, IUnitOfMeasureService service, IUserContext userContext)
 {
     _mapper  = mapper;
     _service = service;
     _user    = userContext;
 }
 public UnitOfMeasureRepository(IMapper mapper, IUnitOfMeasureService unitOfMeasure)
 {
     _mapper        = mapper;
     _unitOfMeasure = unitOfMeasure;
 }
 public UnitOfMeasureController(IUnitOfMeasureService unitOfMeasureService)
 {
     _unitOfMeasureService = unitOfMeasureService;
 }
Exemplo n.º 10
0
 public UnitOfMeasureController(IUnitOfMeasureService svc)
 {
     _svc = svc;
 }
 public UnitOfMeasuresController(IUnitOfMeasureService unitOfMeasureService)
 {
     _unitOfMeasureService = unitOfMeasureService;
 }
Exemplo n.º 12
0
 public UnitOfMeasureController(ILogger <UnitOfMeasureController> aLogger, IUnitOfMeasureService aUoMService)
 {
     _logger    = aLogger;
     UoMService = aUoMService;
 }
Exemplo n.º 13
0
 public UnitOfMeasureTypeController(IUnitOfMeasureService unitOfMeasureService, IUnitOfMeasureTypeService unitOfMeasureTypeService, IOptions <AppConfig> appConfig)
 {
     _appConfig = appConfig;
     _unitOfMeasureTypeService = unitOfMeasureTypeService;
     _unitOfMeasureService     = unitOfMeasureService;
 }