public GetProductGroupByIdQueryHandler(IMapper mapper, IProductGroupRepositoryAsync productGroupRepository) { _mapper = mapper; _productGroupRepository = productGroupRepository; }
public GetAllProductsQueryHandler(IMapper mapper, IApplicationDbContext context, IProductGroupRepositoryAsync productRepository) { _mapper = mapper; _context = context; _productGroupRepository = productRepository; }