public ProductUpdateEventHandler(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository, IUnitOfWork uow) { _categoryProductRedisRepository = categoryProductRedisRepository; _categoryProductRepository = categoryProductRepository; _uow = uow; }
public CategoryCreateEventHandler(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository, ICategoryRedisRepository categoryRedisRepository, IUnitOfWork unitOfWork) { _categoryProductRedisRepository = categoryProductRedisRepository; _categoryProductRepository = categoryProductRepository; _categoryRedisRepository = categoryRedisRepository; _unitOfWork = unitOfWork; }
public ProductController(ICategoryProductRedisRepository categoryProductRedisRepository, ICategoryProductRepository categoryProductRepository) { _categoryProductRedisRepository = categoryProductRedisRepository ?? throw new ArgumentNullException(nameof(categoryProductRedisRepository)); _categoryProductRepository = categoryProductRepository ?? throw new ArgumentNullException(nameof(categoryProductRepository)); }