public ActionResult UpdateStudentInfo(StudentUpdateModel model)
 {
     try
     {
         if (ModelState.IsValid)
         {
             int id = updateOperation.StudentInformationUpdate(model);
             if (id > 0)
             {
                 ModelState.Clear();
                 ViewBag.Successs = "Data Updated!";
             }
             else
             {
                 ViewBag.Success = "Failed!";
             }
         }
         return(RedirectToAction("Studentslist", "ShowDetails"));
     }
     catch (Exception ex)
     {
         return(View(ex));
     }
 }