Пример #1
0
 public virtual async Task Update(Tmodel model)
 {
     try
     {
         Conection.Entry(model).State = EntityState.Modified;
         await Conection.SaveChangesAsync();
     }
     catch (Exception exe)
     {
         throw exe;
     }
 }