public void Atualizar(TEntity obj)
 {
     db.Entry(obj).State = EntityState.Modified;
     db.SaveChanges();
 }