Пример #1
0
 public void Update(T entity)
 {
     table.Attach(entity);
     _db.Entry(entity).State = EntityState.Modified;
 }