public ProductRepository(SystemVentaDbContext contexto) { _contexto = contexto; }
public ProductsController(IProductRepository productRepository, IMapper mapper, SystemVentaDbContext context) { _productRepository = productRepository; _mapper = mapper; this._context = context; }