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