public ProductUpdateEventHandler(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository, IUnitOfWork uow) { _categoryProductRedisRepository = categoryProductRedisRepository; _categoryProductRepository = categoryProductRepository; _uow = uow; }
public CategoryController(ICategoryProductRepository categoryProductRepository, ICategoryRedisRepository categoryRedis, ILogger <CategoryController> logger) { _categoryProductRepository = categoryProductRepository ?? throw new ArgumentNullException(nameof(categoryProductRepository)); _categoryRedis = categoryRedis ?? throw new ArgumentNullException(nameof(categoryRedis)); _logger = logger; }
public ProductController(IProductRepository productRepository, ICategoryRepository categoryRepository, ICategoryProductRepository categoryProductRepository, EmployeeLogin employeeLogin) { _productRepository = productRepository; _categoryRepository = categoryRepository; _categoryProductRepository = categoryProductRepository; _employeeLogin = employeeLogin; }
public CategoryCreateEventHandler(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository, ICategoryRedisRepository categoryRedisRepository, IUnitOfWork unitOfWork) { _categoryProductRedisRepository = categoryProductRedisRepository; _categoryProductRepository = categoryProductRepository; _categoryRedisRepository = categoryRedisRepository; _unitOfWork = unitOfWork; }
/// <summary> /// /// </summary> /// <param name="categoryProductRepository"></param> /// <param name="productRepository"></param> public AdminController(IStringLocalizer <AdminController> localizer, ICategoryProductRepository categoryProductRepository, IProductRepository productRepository, IOptions <JsonRPC> jsonRPC) { _localizer = localizer; repoCat = categoryProductRepository; repoProd = productRepository; _jsonRPC = jsonRPC.Value; }
public ProductService(IParticipantProductRepository participantProductRepository, IProducerRepository producerRepository, IProductRepository productRepository, IFocusProductRepository focusProductRepository, ICategoryProductRepository categoryProductRepository, IMapper mapper, IUnitOfWork unitOfWork, IHostingEnvironment env) { _participantProductRepository = participantProductRepository; _producerRepository = producerRepository; _productRepository = productRepository; _focusProductRepository = focusProductRepository; _categoryProductRepository = categoryProductRepository; _mapper = mapper; _unitOfWork = unitOfWork; _env = env; }
public HomeController() { _postRepository = new PostRepository(); _categoryPostRepository = new CategoryPostRepository(); _categoryProductRepository = new CategoryProductRepository(); _doctorPaymentRepository = new DoctorPaymentRepository(); _productRepository = new ProductRepository(); _orderRepository = new OrderRepository(); _userRepository = new UserRepository(); _contributionRepository = new DoctorContributionRepository(); }
public SaleFileService(IMapper mapper, ISaleProcessesService saleProcessesService, ISaleFileDataErrorRepository saleFileDataErrorRepository, ISaleFileDataRepository saleFileDataRepository, ISaleFileRepository saleFileRepository, IFileStatusRepository fileStatusRepository, IUserRepository userRepository, IUserStatusRepository userStatusRepository, INetworkRepository networkRepository, IHostingEnvironment env, IShopRepository shopRepository, IShopUserRepository shopUserRepository, IProductRepository productRepository, IFocusProductRepository focusProductRepository, IParticipantProductRepository participantProductRepository, IOfficeRepository officeRepository, IUnitOfWork unitOfWork, ISaleRepository saleRepository, ISaleFileSkuStatusRepository saleFileSkuStatusRepository, ICategoryProductRepository categoryProductRepository) { _mapper = mapper; _saleProcessesService = saleProcessesService; _saleFileDataErrorRepository = saleFileDataErrorRepository; _saleFileDataRepository = saleFileDataRepository; _saleFileRepository = saleFileRepository; _fileStatusRepository = fileStatusRepository; _userRepository = userRepository; _userStatusRepository = userStatusRepository; _networkRepository = networkRepository; _env = env; _shopRepository = shopRepository; _shopUserRepository = shopUserRepository; _productRepository = productRepository; _focusProductRepository = focusProductRepository; _participantProductRepository = participantProductRepository; _officeRepository = officeRepository; _unitOfWork = unitOfWork; _saleRepository = saleRepository; _saleFileSkuStatusRepository = saleFileSkuStatusRepository; _categoryProductRepository = categoryProductRepository; }
public SaleProcessesService(IEmailService emailService, ISaleFileDataErrorRepository saleFileDataErrorRepository, ISaleFileDataRepository saleFileDataRepository, ISaleFileRepository saleFileRepository, IFileStatusRepository fileStatusRepository, IUserRepository userRepository, IUserStatusRepository userStatusRepository, INetworkRepository networkRepository, IShopRepository shopRepository, IShopUserRepository shopUserRepository, IProductRepository productRepository, IFocusProductRepository focusProductRepository, IParticipantProductRepository participantProductRepository, IOfficeRepository officeRepository, IUnitOfWork unitOfWork, ISaleRepository saleRepository, ILogger logger, ISaleFileSkuStatusRepository saleFileSkuStatusRepository, ICategoryProductRepository categoryProductRepository, IUserPunctuationRepository userPunctuationRepository, IUserPunctuationSourceRepository userPunctuationSourceRepository) { _saleFileDataErrorRepository = saleFileDataErrorRepository; _emailService = emailService; _saleFileDataRepository = saleFileDataRepository; _saleFileRepository = saleFileRepository; _fileStatusRepository = fileStatusRepository; _userRepository = userRepository; _userStatusRepository = userStatusRepository; _networkRepository = networkRepository; _shopRepository = shopRepository; _shopUserRepository = shopUserRepository; _productRepository = productRepository; _focusProductRepository = focusProductRepository; _participantProductRepository = participantProductRepository; _officeRepository = officeRepository; _unitOfWork = unitOfWork; _saleRepository = saleRepository; _logger = logger; _saleFileSkuStatusRepository = saleFileSkuStatusRepository; _categoryProductRepository = categoryProductRepository; _userPunctuationRepository = userPunctuationRepository; _userPunctuationSourceRepository = userPunctuationSourceRepository; }
public ProductsAdminController() { _productRepository = new ProductRepository(); _categoryProductRepository = new CategoryProductRepository(); }
public ProductAdminController(ICategoryProductRepository repo) { repository = repo; categories = repository.GetCategories(); }
public ProductController(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository) { _categoryProductRedisRepository = categoryProductRedisRepository ?? throw new ArgumentNullException(nameof(categoryProductRedisRepository)); _categoryProductRepository = categoryProductRepository ?? throw new ArgumentNullException(nameof(categoryProductRepository)); }
public CategoryProductService(ICategoryProductRepository categoryproductRepository) { _categoryproductRepository = categoryproductRepository; }
public CategoryProductService(ICategoryProductRepository repository) : base(repository) { _repository = repository; }