Exemple #1
0
 public ActionResult LessonsLearnedApprovalAddPartial(ApprovalModel rowModel)
 {
     if (ModelState.IsValid)
     {
         var lessonModel = (LessonLearnedModel)Session["LessonLearnedModel"];
         rowModel.RequestInfo = Url.Action("ApprovalProcessApproval");
         OAPServiceSystem.AddApprover(rowModel, lessonModel);
     }
     else
     {
         ViewData["UpdateError"] = true;
     }
     return(LessonsLearnedApprovalPartial());
 }