public ProductService(IProductRepository productRepository, ITagRepository tagRepository, IProductTagRepository productTagRepository, IUnitOfWork unitOfWork) { this.productRepository = productRepository; this.tagRepository = tagRepository; this.productTagRepository = productTagRepository; this.unitOfWork = unitOfWork; }
public ProductService(IProductRepository productRepository, IUnitOfWork unitOfWord, ITagRepository tagRepository, IProductTagRepository productTagRepository) { this._productRepository = productRepository; this._unitOfWork = unitOfWord; this._tagRepository = tagRepository; this._productTagRepository = productTagRepository; }
public TagService(ITagRepository tagRepository, IUnitOfWork unitOfWork, IProductTagRepository productTagRepository, IPostTagRepository postTagRepository) { this._tagRepository = tagRepository; this._unitOfWork = unitOfWork; this._productTagRepository = productTagRepository; this._postTagRepository = postTagRepository; }
public ProductTagController(IProductTagRepository pt, IProductRepository p, ITagRepository t, IUserRepository u) { productTagRepo = pt; productRepo = p; tagRepo = t; userRepo = u; }
public ProductService(IProductRepository productRepository, IUnitOfWork unitOfWork, ITagRepository tagRepository, IProductTagRepository productTagRepository) { _productRepository = productRepository; _unitOfWork = unitOfWork; _tagRepository = tagRepository; _productTagRepository = productTagRepository; }
public HomeController(IProductRepository productRepository, IProductTagRepository productTagRepository, IServiceProvider serviceProvider, IProductReViewRepository productReViewRepository) { this.productRepository = productRepository; this.productTagRepository = productTagRepository; this.serviceProvider = serviceProvider; this.productReViewRepository = productReViewRepository; }
public ProductService(IProductRepository productRepository, IProductTagRepository productTagRepository, ITagRepository tagRepository, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IUnitOfWork unitOfWork) { _productRepository = productRepository; _productTagRepository = productTagRepository; _tagRepository = tagRepository; _productQuantityRepository = productQuantityRepository; _productImageRepository = productImageRepository; _unitOfWork = unitOfWork; }
public ProductService(IProductRepository productRepository , IProductTagRepository productTagRepository , ITagRepository tagRepository , IUnitOfWork uow) { _productRepository = productRepository; _productTagRepository = productTagRepository; _tagRepository = tagRepository; _uow = uow; }
public ProductService(IProductRepository productRepository, ITagRepository tagRepository, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IWholePriceRepository wholePriceRepository, IProductTagRepository productTagRepository, IUnitOfWork unitOfWord) { _productRepository = productRepository; _productQuantityRepository = productQuantityRepository; _productImageRepository = productImageRepository; _wholePriceRepository = wholePriceRepository; _tagRepository = tagRepository; _productTagRepository = productTagRepository; _unitOfWord = unitOfWord; }
public ProductService(IProductRepository productionRepository, IProductTagRepository productTagRepository, ITagRepository tagRepository, IUnitOfWork unitOfWork, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IWholePriceRepository wholePriceRepository, IProductCategoryRepository categoryRepository, IRatingRepository ratingRepository, IProductQuantityRepository productQuantity) { _productRepository = productionRepository; _productTagRepository = productTagRepository; _tagRepository = tagRepository; _unitOfWork = unitOfWork; _productQuantityRepository = productQuantityRepository; _productImageRepository = productImageRepository; _wholePriceRepository = wholePriceRepository; _categoryRepository = categoryRepository; _ratingRepository = ratingRepository; _productQuantity = productQuantity; }
public ProductService(IProductRepository productRepository, ITagRepository tagRepository, IProductCategoryRepository productCategoryRepository, IProductTagRepository productTagRepository, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IWholePriceRepository wholePriceRepository, IUnitOfWork unitOfWork) { this.productCategoryRepository = productCategoryRepository; this.productRepository = productRepository; this.tagRepository = tagRepository; this.productTagRepository = productTagRepository; this.productQuantityRepository = productQuantityRepository; this.productImageRepository = productImageRepository; this.wholePriceRepository = wholePriceRepository; this.unitOfWork = unitOfWork; }
public ProductController(ICategoryService categoryService, ICommonService commonService, IProductService productService, IProductTagRepository productTagRepository, IProductRepository productRepository, ICategoryRepository categoryRepository, IUnitOfWork unitOfWork) { _categoryService = categoryService; _commonService = commonService; _productService = productService; _productRepository = productRepository; _productTagRepository = productTagRepository; _categoryRepository = categoryRepository; _unitOfWork = unitOfWork; }
public ProductService(IProductRepository productRepository, ITagRepository tagRepository, IProductQuantityRepository productQuantityRepository, IWholePriceRepository wholePriceRepository, IUnitOfWork unitOfWork, IProductTagRepository productTagRepository, IProductCategoryRepository productCategoryRepository) { _productRepository = productRepository; _tagRepository = tagRepository; _productQuantityRepository = productQuantityRepository; _productTagRepository = productTagRepository; _wholePriceRepository = wholePriceRepository; _unitOfWork = unitOfWork; _productCategoryRepository = productCategoryRepository; }
public HomeController(IProductRepository productRepository, IProductTagRepository productTagRepository, IServiceProvider serviceProvider, IProductReViewRepository productReViewRepository, IShoppingCartRepository shoppingCart, ICartRepository cartRepository, IConfiguration configuration, ICategoryRepository categoryRepository, IBlogCategoryRepository blogCategoryRepository, IMemoryCache cache, IProductTypeRepository productTypeRepository, IMaterialRepository materialRepository) { this._productRepository = productRepository; this._productTagRepository = productTagRepository; this._serviceProvider = serviceProvider; this._productReViewRepository = productReViewRepository; _shoppingCart = shoppingCart; _cartRepository = cartRepository; Configuration = configuration; _categoryRepository = categoryRepository; _blogCategoryRepository = blogCategoryRepository; _cache = cache; _productTypeRepository = productTypeRepository; _materialRepository = materialRepository; }
public static List <ProductItemModel> GetProductsForCatalog( IProductRepository productRepo, IProductTagRepository productTagRepo, TenantId tenantId, int pageNumber, int pageSize ) { var products = productRepo.GetAll(tenantId.Id, pageNumber, pageSize); var productTags = productTagRepo.GetAll(tenantId.Id); var joinProducts = (from product in products join productTag in productTags on product.Id equals productTag.ProductId select new { Product = product, ProductTag = productTag }) .ToList() .GroupBy(x => x.Product) .Select(x => new ProductItemModel(x.Key, x.Select(t => t.ProductTag))) .ToList(); return(joinProducts); }
public ProductController(IProductRepository productRepository, IProductTypeRepository productTypeRepository, IMaterialRepository materialRepository, ICategoryRepository categoryRepository, IWebHostEnvironment webHostEnvironment, IConfiguration config, IProductImageRepository productImageRepository, ITagRepository tagRepository, IProductTagRepository productTagRepository, IAccountRepository accountRepository, IProductReViewRepository productReViewRepository) { _config = config; _webHostEnvironment = webHostEnvironment; _productTypeRepository = productTypeRepository; _productRepository = productRepository; _materialRepository = materialRepository; _categoryRepository = categoryRepository; _productTagRepository = productTagRepository; this.accountRepository = accountRepository; this.productReViewRepository = productReViewRepository; _productImageRepository = productImageRepository; _tagRepository = tagRepository; }
public ProductService(IProductRepository productRepository, IUnitOfWork unitOfWork, IProductTagRepository productTagRepository, ITagRepository tagRepository, IColorRepository colorRepository, ISizeRepository sizeRepository, IProductQuantityRepository productQuantityRepository, IProductImageRepository productImageRepository, IHostingEnvironment hostingEnvironment, IWholePriceRepository wholePriceRepository, IProductCategoryRepository productCategoryRepository, IUserWishlistRepository userWishlistRepository) { this._productRepository = productRepository; this._unitOfWork = unitOfWork; this._productTagRepository = productTagRepository; this._tagRepository = tagRepository; this._colorRepository = colorRepository; this._sizeRepository = sizeRepository; this._productQuantityRepository = productQuantityRepository; this._productImageRepository = productImageRepository; this._hostingEnvironment = hostingEnvironment; this._wholePriceRepository = wholePriceRepository; this._productCategoryRepository = productCategoryRepository; this._userWishlistRepository = userWishlistRepository; }
public ProductTagService(IProductTagRepository productTagRepository, IUnitOfWork unitOfWork) { _productTagRepository = productTagRepository; _unitOfWork = unitOfWork; }
public TagController(ITagRepository tagRepository, IProductTagRepository productTagRepository) { _tagRepository = tagRepository; _productTagRepository = productTagRepository; }
public TagService(ITagRepository tagRepository, IProductTagRepository productTagRepository) { this.tagRepository = tagRepository; this.productTagRepository = productTagRepository; }
public ProductController(IProductService ProductService, ITagService TagService, IProductTagRepository ProductTagReporistory) { _Tag = TagService; _Product = ProductService; _ProductTagReporistory = ProductTagReporistory; }
public ProductTagService(IProductTagRepository ProductTagRepository, IUnitOfWork unitOfWork) { this.ProductTagRepository = ProductTagRepository; this.unitOfWork = unitOfWork; }
public ProductTagsService(IProductTagRepository repository) { _repository = repository; }
public TagService(ITagRepository tagRepository, IProductTagRepository productTagRepository, IUnitOfWork unitOfWork) { _tagRepository = tagRepository; _productTagRepository = productTagRepository; _unitOfWork = unitOfWork; }