示例#1
0
        public JsonResult GetCourseTitles(EntitiesViewModel model)
        {
            var data = CourseTitleManager.GetCourseTitles(model.Page,
                                                          model.Limit,
                                                          model.Order,
                                                          model.IsAscending(),
                                                          model.Search);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public JsonResult GetCourseTitle(Guid id)
        {
            var data = CourseTitleManager.GetCourseTitle(id);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }