示例#1
0
 public async Task Atualizar(Veiculo veiculo)
 {
     _testeBackendContext.Entry(veiculo).State = EntityState.Modified;
     await _testeBackendContext.SaveChangesAsync();
 }
 public async Task Atualizar(Proprietario proprietario)
 {
     _testeBackendContext.Entry(proprietario).State = EntityState.Modified;
     await _testeBackendContext.SaveChangesAsync();
 }