Example #1
0
 public static void editarBoolEnviado(Resposta r)
 {
     ctx.Database.ExecuteSqlCommand($"UPDATE dbo.Resposta SET isEnviado = '{r.isEnviado}' WHERE idResposta = {r.idResposta}");
     ctx.SaveChanges();
     EntitiFrame.RefreshAll();
 }
Example #2
0
 public static void editarNota(Resposta r)
 {
     ctx.Database.ExecuteSqlCommand($"UPDATE dbo.Resposta SET nota = '{r.nota}' WHERE idResposta = {r.idResposta}");
     ctx.SaveChanges();
     EntitiFrame.RefreshAll();
 }