public JsonResult DeleteCourseInSemester(string id) { CourseDAO model = new CourseDAO(); var course = model.deletecourse(id); return(Json(new { status = true }, JsonRequestBehavior.AllowGet)); }