Пример #1
0
 public BlogListViewModel(UserFactory userFactory, HeaderViewModel header, BlogSidebarViewModel sidebar,
                          PostService postService, CategoryService categoryService, TagService tagService)
     : base(userFactory, header, sidebar)
 {
     _postService     = postService;
     _categoryService = categoryService;
     _tagService      = tagService;
 }
Пример #2
0
 public BlogViewModel(UserFactory userFactory, HeaderViewModel header, BlogSidebarViewModel sidebar)
     : base(userFactory)
 {
     _sidebar = sidebar;
     _header  = header;
 }
Пример #3
0
 public BlogPostViewModel(UserFactory userFactory, HeaderViewModel header, BlogSidebarViewModel sidebar,
                          PostService postService) : base(userFactory, header, sidebar)
 {
     _postService = postService;
 }