コード例 #1
0
 public TopicController()
 {
     this.ExerciseService = new ExerciseServices();
     this.TopicService    = new TopicsService();
 }
コード例 #2
0
        public ActionResult ExercisesTree(string topicName)
        {
            var tree = new ExerciseServices().GetExercisesResolved(User.Identity.GetUserId(), topicName);

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