Exemple #1
0
 public ActionResult Edit(int id, AcadamicMasterModel model)
 {
     try
     {
         // TODO: Add update logic here
         var studentId = UserProfileMasterBAL.GetStudentProfileData(User.Identity.Name).StudentId;
         AcademicMasterBAL.UpdateAcademic(model, studentId.ToString(), id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }
Exemple #2
0
        // GET: Academic
        public ActionResult Index()
        {
            var model = AcademicMasterBAL.AcadamicList(User.Identity.Name);

            return(View(model));
        }