コード例 #1
0
        public JsonResult Get()
        {
            var plans   = _repository.GetUserPlansWithCourses(User.Identity.Name);
            var results = Mapper.Map <IEnumerable <LearningPlanViewModel> >(plans);

            return(Json(results));
        }