public IActionResult Delete(string id) { PlanService ser = new PlanService(); int result = ser.DeleteCurriculumDetail(id); SetViewBag(); return(RedirectToAction("ViewCurriculumDetail")); }