public ProductController(IProductService productService, ICategoryService categoryService, IProductImageService productImageService, IMapper mapper) { _productService = productService; _categoryService = categoryService; _productImageService = productImageService; _mapper = mapper; }
//public UiDataService() { } public UiDataService( ILanguageService languageService, ISliderService sliderService, IMenuService menuService, ICategoryService categoryService, IProductImageService productImageService, IProductService productService, IContactService contactService, IContactInformationService contactInformationService, IProjectService projectService, IServiceService serviceService, IGlobalTextDataService globalTextDataService) { this.languageService = languageService; this.sliderService = sliderService; this.menuService = menuService; this.categoryService = categoryService; this.productImageService = productImageService; this.productService = productService; this.contactService = contactService; this.contactInformationService = contactInformationService; this.projectService = projectService; this.serviceService = serviceService; this.globalTextDataService = globalTextDataService; }
public ProductController(IProductCategoryService productCategoryService, IProductService productService, ICommonService commonService, IProductImageService productImageService) { this._productCategoryService = productCategoryService; this._productService = productService; this._commonService = commonService; this._productImageService = productImageService; }
public ProVarationController(IProductService productService, IProductVariationService productVariationService, IProductImageService productImageService) { _productService = productService; _productVariationService = productVariationService; _productImageService = productImageService; }
public ProductController(IProductService productService, ICategoryService categoryService, IProductImageService productImageService, IHostingEnvironment env) { _productService = productService; _categoryService = categoryService; _productImageService = productImageService; _env = env; }
public ProductController(IProductService repo, IMapper mapper, ICategoryService repoCategory, IProductImageService imageService) { _repo = repo; _repoCategory = repoCategory; _mapper = mapper; _imageService = imageService; }
public ProductService(IRepository <Product> productRepo, ApplicationDbContext context, IProductImageService productImageService) { this.productRepo = productRepo; this.context = context; this.productImageService = productImageService; }
public ProductImageController( IProductImageService productImageService, IProductImageComplexService productImageComplexService) { this._ProductImageService = productImageService; this._ProductImageComplexService = productImageComplexService; }
public ProductService(ApplicationDbContext context, IMapper mapper, IProductImageService productImageService, ICategoryService categoryService) : base(context) { this.mapper = mapper; this.productImageService = productImageService; this.categoryService = categoryService; }
public ProductController(IProductSevice productService, IProductDetailService productDetailService, IProductSizeService productSizeService, IProductImageService productImageService, IColorService colorService, IRateService rateService, IReviewService reviewService, IUserService userService, IOrderService orderService, IOrderDetailService orderDetailService, ICategoryService categoryService, IMapper mapper) { _productService = productService; _categoryService = categoryService; _productDetailService = productDetailService; _productSizeService = productSizeService; _productImageService = productImageService; _colorService = colorService; _rateService = rateService; _reviewService = reviewService; _userService = userService; _orderService = orderService; _orderDetailService = orderDetailService; _mapper = mapper; }
public FileUploaderController( IConfiguration configuration, IProductImageService productImageService) { _configuration = configuration; _productImageService = productImageService; }
public ProductController(IProductService productService, IWebHostEnvironment webHostEnvironment, IBrandService brandService, ICategoryService categoryService, IProductImageService productImageService) { _productService = productService; _brandService = brandService; _categoryService = categoryService; _productImageService = productImageService; _webHostEnvironment = webHostEnvironment; }
public ProductController(IProductService productService, IProductCategoryService productCategoryService, IProductImageService productImageService, ITagService tagService) { this._productService = productService; this._productCategoryService = productCategoryService; this._productImageService = productImageService; this._tagService = tagService; }
public ProductController(IProductService productService, IProductImageService productImageService, IHostingEnvironment env, IAuthorizationService authorizationService) { _productService = productService; _productImageService = productImageService; _env = env; _authorizationService = authorizationService; }
public ProductsController(IProductService productService, IProductImageService productImageService, IErrorService errorService, IUnitOfWork unitOfWork) : base(errorService, unitOfWork) { _productService = productService; _productImageService = productImageService; }
public CartService(ApplicationDbContext context, IMapper mapper, IUserService userService, IProductService productService, IProductImageService productImageService) : base(context) { this.mapper = mapper; this.userService = userService; this.productService = productService; this.productImageService = productImageService; }
public ProductsController(IProductService productService, IProductImageService productImageService, IProductCategoryService categoryService) { _productService = productService; _productImageService = productImageService; _categoryService = categoryService; }
public ProductDetailController(ICategoryService categoryService, IProductService productService , IManufacturerService manufacturerService, IProductSizeService productSizeService, IProductImageService productImageService) { _categoryService = categoryService; _productService = productService; _manufacturerService = manufacturerService; _productSizeService = productSizeService; _productImageService = productImageService; }
public ProductDetailController(IProductService productService, IConfiguration config, IProductImageService productImageService, IProductQuantityService productQuantityService, IWholePriceService wholePriceService) { _productService = productService; _config = config; _productImageService = productImageService; _productQuantityService = productQuantityService; _wholePriceService = wholePriceService; }
public HomeController(IProductService productService, ICategoryService categoryService, ICartService cartService, IProductImageService productImageService) { _productService = productService; _categoryService = categoryService; _cartService = cartService; _productImageService = productImageService; }
public ProductController(IUnitOfWork unitOfWork, IProductService productService, IAttributeService attributeService, ICategoryService categoryService, IProductImageService productImageService, IValueService valueService) { _unitOfWork = unitOfWork; _productService = productService; _categoryService = categoryService; _attributeService = attributeService; _productImageService = productImageService; _valueService = valueService; }
public ProductController(ApplicationDbContext context, ICategoryService categoryService, IHtmlHelper htmlHelper, IProductService productService, IProductImageService productImageService, IAdminService adminService) { _context = context; this.categoryService = categoryService; this.htmlHelper = htmlHelper; this.productService = productService; this.productImageService = productImageService; this.adminService = adminService; }
public HomeController(IBannerService bannerService, IProductAdvertisement productAdvertisement, IProductVariationService productVariationService, IProductService productService, IProductImageService productImageService) { _bannerService = bannerService; _productAdvertisement = productAdvertisement; _productVariationService = productVariationService; _productService = productService; _productImageService = productImageService; }
public ProductController(IProductService productService, IBrandService brandService, ICategoryService categoryService, IVendorService vendorService, IProductVariationService productVariationService, IProductImageService productImageService) { _productService = productService; _brandService = brandService; _vendorService = vendorService; _productVariationService = productVariationService; _productImageService = productImageService; _categoryService = categoryService; }
public Seeder(IServiceProvider serviceProvider, IConfiguration configuration) { var connectionString = configuration.GetConnectionString("DefaultConnection"); this.context = new ApplicationDbContext(connectionString); //Set up blob service client this.blobServiceClient = new BlobServiceClient(configuration["AzureBlobStorage:ConnectionString"]); //Set up azure blob service this.azureBlobService = new AzureBlobService(this.blobServiceClient); //Set up gender service this.genderService = new GenderService(context); //Set up roleService var roleManager = serviceProvider.GetRequiredService <RoleManager <Role> >(); this.roleService = new RoleService(context, roleManager); //Set up automapper var mapperConfig = new MapperConfiguration(cfg => { cfg.AddMaps(typeof(UserProfile)); }); this.mapper = mapperConfig.CreateMapper(); //Set up userService var userManager = serviceProvider.GetRequiredService <UserManager <User> >(); this.userService = new UserService(context, this.roleService as RoleService, this.genderService as GenderService, userManager, this.mapper); //Set up productImageService this.productImageService = new ProductImageService(context, this.azureBlobService); //Set up categoryService this.categoryService = new CategoryService(context); //Set up productService this.productService = new ProductService(context, this.mapper, this.productImageService, this.categoryService); //Set up productCommentService this.productCommentService = new ProductCommentService(context); //Set up countryService this.countryService = new CountryService(context); //Set up countryService this.paymentMethodService = new PaymentMethodService(context); //Set up sales service this.saleService = new SaleService(context); }
public ManageImageStreamUtil() { _container = new WindsorContainer(); ComponentRegistrar.AddServicesTo(_container); ComponentRegistrar.AddNestConnection(_container); ComponentRegistrar.AddGenericRepositoriesTo(_container); ComponentRegistrar.AddCustomRepositoriesTo(_container); ComponentRegistrar.AddUnitOfWorkTo(_container); ComponentRegistrar.AddDatabaseFactoryPerThreadTo(_container); _productImageService = _container.Resolve <IProductImageService>(); }
public ProductController(IProductService productService, IProductQuantityService productQuantityService, IProductCategoryService productCategoryService, IProductImageService productImageService, ICommentService commentService , ICommentVoteService commentVoteService) { _productService = productService; _productQuantityService = productQuantityService; _productCategoryService = productCategoryService; _productImageService = productImageService; _commentService = commentService; _commentVoteService = commentVoteService; }
public ProductService(IApplicationContext applicationContext, IProductTagService productTagService, IProductCategoryTagService productCategoryTagService, IProductImageService productImageService, ILocalize localize, CMSDbContext dbContext) : base(applicationContext, dbContext) { _productTagService = productTagService; _productCategoryTagService = productCategoryTagService; _productImageService = productImageService; _localize = localize; }
public HomeController(IBannerService bannerService, IProductAdvertisement productAdvertisement, IProductVariationService productVariationService, IProductService productService, IProductImageService productImageService, ICategoryService categoryService, IBrandService brandService) { _bannerService = bannerService; _productAdvertisement = productAdvertisement; _productVariationService = productVariationService; _productService = productService; _productImageService = productImageService; _categoryService = categoryService; _brandService = brandService; }
public ProductController(IProductService productService, INotificationService notificationService, ILogger <ProductController> logger, IConfiguration configuration, IProductImageService productImageService) { _productService = productService; _notificationService = notificationService; _logger = logger; _configuration = configuration; _productImageService = productImageService; }