Esempio n. 1
0
 public void Alterar(TEntity obj)
 {
     _eventosContexto.Update(obj);
     _eventosContexto.Entry(obj).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
     _eventosContexto.SaveChanges();
 }