예제 #1
0
 public void Atualizar(Endereco endereco)
 {
     _contexto.Entry(endereco).State = EntityState.Modified;
     _contexto.SaveChanges();
 }
예제 #2
0
 public void Atualizar(Resultado resultado)
 {
     _contexto.Entry(resultado).State = EntityState.Modified;
     _contexto.SaveChanges();
 }
예제 #3
0
 public void Atualizar(Aluno aluno)
 {
     _contexto.Entry(aluno).State = EntityState.Modified;
     _contexto.SaveChanges();
 }