public ProductBusiness(IDbContextScopeFactory dbContextScopeFactory, IUnitOfWork unitOfWork, IProductReponsitory productReponsitory) { _dbContextScopeFactory = dbContextScopeFactory; _unitOfWork = unitOfWork; _productReponsitory = productReponsitory; }
public ProductService(IProductReponsitory productReponsitory, IMapper mapper) : base(productReponsitory) { _productReponsitory = productReponsitory; _mapper = mapper; }