Пример #1
0
 public Table_1 updatetable(int id, Table_1 table)
 {
     db.Entry(table).State = System.Data.Entity.EntityState.Modified;
     db.SaveChanges();
     return(table);
 }