public ActionResult Edit_CourseGrade(CourseGrade ob) { if (ModelState.IsValid) { CourseGradeBL.Update(ob); return(RedirectToAction("course_Grade")); } else { return(View()); } }
//EDIT //Edit in Gpa Grade Table public ActionResult course_Grade() { return(View(CourseGradeBL.GetAll())); }
public ViewResult Edit_CourseGrade(int id) { var ob = CourseGradeBL.GetById(id); return(View(ob)); }