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