예제 #1
0
 public string DeleteProductoFacturado(Producto_Facturado productof)
 {
     dbContext.producto_facturado.Remove(productof);
     dbContext.SaveChanges();
     return("Delete Successfully");
 }
예제 #2
0
        public Producto_Facturado GetProductoFacturadoById(int id)
        {
            Producto_Facturado productof = dbContext.producto_facturado.FirstOrDefault(s => s.IdProducto_Facturados == id);

            return(productof);
        }
예제 #3
0
 public string UpdateProductoFacturado(Producto_Facturado productof)
 {
     dbContext.producto_facturado.Update(productof);
     dbContext.SaveChanges();
     return("Update Successfully");
 }
예제 #4
0
 public string Create(Producto_Facturado productof)
 {
     dbContext.producto_facturado.Add(productof);
     dbContext.SaveChanges();
     return("Save Successfully");
 }