public ForumPresenter() { _boardService = new BoardService(); _forumRepository = new BoardForumRepository(); _categoryRepository = new BoardCategoryRepository(); _redirector = new Redirector(); _webContext = new WebContext(); }
public ForumPresenter() { _boardService = ObjectFactory.GetInstance<IBoardService>(); _forumRepository =new BoardForumRepository(); _categoryRepository = new BoardCategoryRepository(); _redirector = new Redirector(); _webContext = new WebContext(); }
public ForumPresenter() { _boardService = new BoardService(); _forumRepository =new BoardForumRepository(); _categoryRepository = new BoardCategoryRepository(); _redirector = new Redirector(); _webContext = new WebContext(); }
public ShowViewPostUCPresenter() { _categoryRepository = new BoardCategoryRepository(); _forumRepository = new BoardForumRepository(); _postRepository = new BoardPostRepository(); _webContext = new WebContext(); Posts = new List<BoardPost>(); forum = new BoardForum(); }
public PostForumPostPresenter() { _postRepository = new BoardPostRepository(); _forumRepository = new BoardForumRepository(); _categoryRepository = new BoardCategoryRepository(); _redirector = new Redirector(); _webContext = new WebContext(); _alertService = new AlertService(); _groupRepository = new GroupRepository(); }
public PostForumPostPresenter() { _postRepository = new BoardPostRepository(); _forumRepository = new BoardForumRepository(); _categoryRepository = new BoardCategoryRepository(); _redirector = new Redirector(); _webContext = new WebContext(); _alertService =new AlertService(); _groupRepository = new GroupRepository(); }
public ViewGroupPresenter() { _groupRepository = new GroupRepository(); _webContext = new WebContext(); _redirector = new Redirector(); _boardForumRepository = new BoardForumRepository(); _boardCategoryRepository = new BoardCategoryRepository(); _groupMemberRepository = new GroupMemberRepository(); _groupService = new GroupService(); _boardPostRepository = new BoardPostRepository(); }
public ViewGroupForumPostPresenter() { _groupRepository = new GroupRepository(); _webContext = new WebContext(); _redirector = new Redirector(); _boardForumRepository = new BoardForumRepository(); _boardCategoryRepository = new BoardCategoryRepository(); _groupMemberRepository = new GroupMemberRepository(); _groupService = new GroupService(); _boardPostRepository = new BoardPostRepository(); }
public void Init(HttpApplication context) { context.PostResolveRequestCache += new EventHandler(Application_PostResolveRequestCache); _accountRepository = new AccountRepository(); _blogRepository = new BlogRepository(); _categoryRepository = new BoardCategoryRepository(); _forumRepository = new BoardForumRepository(); _postRepository = new BoardPostRepository(); _webContext = new WebContext(); _groupRepository = new GroupRepository(); }
public BoardService() { _categoryRepository = new BoardCategoryRepository(); _forumRepository = new BoardForumRepository(); }