public bool InsertarProducto(Producto p) { if (ProductoCD.Existe("" + p.Nombre)) { return(true); } else { ProductoCD.Create(p); return(false); } }
public bool EliminarProducto(Producto p) { ProductoCD.Eliminar(p); return(false); }
public bool ModificarProducto(Producto p) { ProductoCD.Modificar(p); return(false); }
public bool existeProveedor(string id) { return(ProductoCD.Existe(id)); }
public List <filtrarVistaProductoResult> ObtenerProductosbycategoria(string categoria) { return(ProductoCD.ObtenerProductosbycategoria(categoria)); }
public List <filtrarproductoResult> ListarProductos(string val) { return(ProductoCD.ObtenerProductoes(val)); }