示例#1
0
 public ForumController(IBaseControllerServiceFacade baseServiceFacade, IForumSectionService sectionService, IForumTopicService topicService, 
                        IForumPostService postService)
     : base(baseServiceFacade)
 {
     _sectionService = sectionService;
     _topicService = topicService;
     _postService = postService;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="forumSectionService"></param>
 public ForumSectionController(IForumSectionService forumSectionService)
 {
     _forumSectionService = forumSectionService;
 }
示例#3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="forumSectionService"></param>
 public ForumSectionsController(IForumSectionService forumSectionService)
 {
     _forumSectionService = forumSectionService;
 }