public FacturaService(TiendaContext tiendaContext) { _TiendaContext = tiendaContext; productoService = new ProductoService(tiendaContext); }
public FacturaService(TiendaVirtualContext context) { _context = context; _serviceProducto = new ProductoService(context); }
public FacturaCompraService(string ConecctionString) { conexion = new ConnectionManager(ConecctionString); repositorioFacturaCompra = new FacturaCompraRepositorio(conexion); productoService = new ProductoService(ConecctionString); }