public ActionResult <CourseCommentCategoryListViewModel> GetAllCourseCommentCategory(CourseCommentCategoryListViewModel courseCommentCategoryListViewModel) { CourseCommentCategoryListViewModel courseCommentCategoryList = new CourseCommentCategoryListViewModel(); try { courseCommentCategoryList = _reportCardService.GetAllCourseCommentCategory(courseCommentCategoryListViewModel); } catch (Exception es) { courseCommentCategoryList._message = es.Message; courseCommentCategoryList._failure = true; } return(courseCommentCategoryList); }