Exemplo n.º 1
0
 /// Pending
 public static void ActualizaEvaluacion(String sEvalId, short calif)
 {
     using (var dbContext = new wPremiosInstitucionalesdbEntities())
     {
         try
         {
             var eval = GetEvaluacionById(sEvalId);
             dbContext.UpdateEvaluacion(eval.cveEvaluacion, calif, eval.cveAplicacion, eval.cveJuez);
             dbContext.SaveChanges();
         }
         catch (Exception Ex)
         {
             Console.WriteLine("Catched Exception: " + Ex.Message + Environment.NewLine);
         }
     }
 }