public CategorySidebar(ITopCategoryRepository topCategoryRepo, IMiddleCategoryRepository middleCategoryRepo, ISubCategoryRepository subCategoryRepo, IErrorLogRepository errorRepo)
 {
     _topCategoryRepo    = topCategoryRepo;
     _middleCategoryRepo = middleCategoryRepo;
     _subCategoryRepo    = subCategoryRepo;
     _errorRepo          = errorRepo;
 }
示例#2
0
 public SerchBoxController(ITopCategoryRepository topRepo, IProductRepository productRepo, IErrorLogRepository errorRepo, IHttpContextAccessor httpContextAccessor, IMiddleCategoryRepository midRepo, ISubCategoryRepository subRepo, IBrandRepository brandRepo)
 {
     _topRepo             = topRepo;
     _productRepo         = productRepo;
     _errorRepo           = errorRepo;
     _httpContextAccessor = httpContextAccessor;
     _midRepo             = midRepo;
     _subRepo             = subRepo;
     _brandRepo           = brandRepo;
 }
示例#3
0
 public BrandController(ITopCategoryRepository topRepo, IProductRepository productRepo, IErrorLogRepository errorRepo, IHttpContextAccessor httpContextAccessor, IMiddleCategoryRepository midRepo, ISubCategoryRepository subRepo, IStringLocalizer <ProductController> localizer, IBrandRepository brandRepo)
 {
     _topRepo             = topRepo;
     _productRepo         = productRepo;
     _errorRepo           = errorRepo;
     _httpContextAccessor = httpContextAccessor;
     _midRepo             = midRepo;
     _subRepo             = subRepo;
     _localizer           = localizer;
     _brandRepo           = brandRepo;
 }
示例#4
0
 public SliderController(ITopCategoryRepository topRepo, IErrorLogRepository errorRepo, IMiddleCategoryRepository midRepo, ISubCategoryRepository subRepo, IProductRepository productRepo, IMapper mapper, ISliderRepository sliderRepo, IBrandRepository brandRepo, IWebHostEnvironment environment)
 {
     _topRepo     = topRepo;
     _midRepo     = midRepo;
     _subRepo     = subRepo;
     _productRepo = productRepo;
     _errorRepo   = errorRepo;
     _mapper      = mapper;
     _sliderRepo  = sliderRepo;
     _brandRepo   = brandRepo;
     _environment = environment;
 }
 public HomeController(ILogger <HomeController> logger, ITopCategoryRepository topRepo, IMiddleCategoryRepository midRepo, ISubCategoryRepository subRepo, IBrandRepository brandRepo, IProductRepository productRepo, IStringLocalizer <HomeController> localizer, IEmailNewsletterRepository emailNewsletterRepo, IErrorLogRepository errorRepo, IHostingEnvironment hostingEnvironment, IContactUsRepository contactRepo)
 {
     _logger              = logger;
     _topRepo             = topRepo;
     _midRepo             = midRepo;
     _subRepo             = subRepo;
     _brandRepo           = brandRepo;
     _productRepo         = productRepo;
     _localizer           = localizer;
     _emailNewsletterRepo = emailNewsletterRepo;
     _errorRepo           = errorRepo;
     _hostingEnvironment  = hostingEnvironment;
     _contactRepo         = contactRepo;
 }
 public HomeController(ITopCategoryRepository topRepo, IProductRepository productRepo, IErrorLogRepository errorRepo, IHttpContextAccessor httpContextAccessor, IMiddleCategoryRepository midRepo, ISubCategoryRepository subRepo, IFavoriteProductRepository fpRepo, ICustomerRepository customerRepo, IBrandRepository brandRepo, IMapper mapper, IWebHostEnvironment environment, IProductPhotoRepository photoRepo, IAdminRepository adminRepo, IAdProductRepository adproRepo, IContactUsRepository contactRepo, IEmailNewsletterRepository newsRepo, IFavoriteProductRepository favRepo, IMiniSliderRepository miniRepo, ISliderRepository sliderRepo)
 {
     _topRepo             = topRepo;
     _productRepo         = productRepo;
     _errorRepo           = errorRepo;
     _httpContextAccessor = httpContextAccessor;
     _midRepo             = midRepo;
     _subRepo             = subRepo;
     _fpRepo       = fpRepo;
     _customerRepo = customerRepo;
     _brandRepo    = brandRepo;
     _mapper       = mapper;
     _environment  = environment;
     _photoRepo    = photoRepo;
     _adminRepo    = adminRepo;
     _adproRepo    = adproRepo;
     _contactRepo  = contactRepo;
     _newsRepo     = newsRepo;
     _favRepo      = favRepo;
     _miniRepo     = miniRepo;
     _sliderRepo   = sliderRepo;
 }
 public FooterTopCategories(ITopCategoryRepository topRepo, IErrorLogRepository errorRepo)
 {
     _topRepo   = topRepo;
     _errorRepo = errorRepo;
 }
 public CategoryNavbar(ITopCategoryRepository topCategoryRepo, IErrorLogRepository errorRepo)
 {
     _topCategoryRepo = topCategoryRepo;
     _errorRepo       = errorRepo;
 }