public ActionResult SaveRubric(RUBRICS_DATA rubricData)
 {
     using (var context = new AssessmentEntities())
     {
         context.spUPDATERUBRICDATA(rubricData.RUBRIC_ROWID, rubricData.OUTCOMES, rubricData.PERFORMANCE_INDICATOR, rubricData.TOPIC, rubricData.POOR, rubricData.DEVELOPING, rubricData.DEVELOPED, rubricData.EXEMPLARY, rubricData.EXPECTATION_LEVEL);
         context.SaveChanges();
         var rubricRecord = context.spRUBRICSGETRECORD_RUBID(rubricData.RUBRIC_ROWID).SingleOrDefault();
         return EditCancel(rubricData.RUBRIC_ROWID);
     }
 }
 public PartialViewResult EditCancel(int rowID)
 {
     using (var context = new AssessmentEntities())
     {
         var rubricRecord = context.spRUBRICSGETRECORD_RUBID(rowID).SingleOrDefault();
         spRUBRICGETSEARCHRESULTS_Result rubDetails = new spRUBRICGETSEARCHRESULTS_Result();
         rubDetails.RUBRIC_ROWID = rubricRecord.RUBRIC_ROWID;
         rubDetails.PERFORMANCE_INDICATOR = rubricRecord.PERFORMANCE_INDICATOR;
         rubDetails.TOPIC = rubricRecord.TOPIC;
         rubDetails.OUTCOMES = rubricRecord.OUTCOMES;
         rubDetails.POOR = rubricRecord.POOR;
         rubDetails.DEVELOPING = rubricRecord.DEVELOPING;
         rubDetails.DEVELOPED = rubricRecord.DEVELOPED;
         rubDetails.EXEMPLARY = rubricRecord.EXEMPLARY;
         rubDetails.EXPECTATION_LEVEL = rubricRecord.EXPECTATION_LEVEL;
         return PartialView("_RubricRows", rubDetails);
     }
 }