public async Task <ActionResult> GetRankings(string strid) { AllCollegeCourseModel SingleCourse = await CoursesControllerUtl.ByIdWholeWorkForAll <AllCollegeCourseModel>(domain, "AllCollege", strid); List <Ranking> rankings = SingleCourse.rankingdata; return(PartialView(rankings)); }
public async Task <ActionResult> GetComments(string strid) { AllCollegeCourseModel SingleCourse = await CoursesControllerUtl.ByIdWholeWorkForAll <AllCollegeCourseModel>(domain, "AllCollege", strid); List <Comment> comments = SingleCourse.commentdata; return(PartialView(comments)); }
public async Task <ActionResult> GetCourseDetail(string strid) { AllCollegeCourseModel SingleCourse = await CoursesControllerUtl.ByIdWholeWorkForAll <AllCollegeCourseModel>(domain, "AllCollege", strid); return(View(SingleCourse)); }
public async Task <ActionResult> PostRanking(string strid, Ranking ranking) { AllCollegeCourseModel SingleCourse = await CoursesControllerUtl.ByIdWholeWorkForAll <AllCollegeCourseModel>(domain, "AllCollege", strid); return(PartialView(SingleCourse)); }