Esempio n. 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());
     }
 }
Esempio n. 2
0
        // GET: Academic
        public ActionResult Index()
        {
            var model = AcademicMasterBAL.AcadamicList(User.Identity.Name);

            return(View(model));
        }