Exemple #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;
 }
 public BlogViewModel(UserFactory userFactory, HeaderViewModel header, BlogSidebarViewModel sidebar)
     : base(userFactory)
 {
     _sidebar = sidebar;
     _header  = header;
 }
 public BlogPostViewModel(UserFactory userFactory, HeaderViewModel header, BlogSidebarViewModel sidebar,
                          PostService postService) : base(userFactory, header, sidebar)
 {
     _postService = postService;
 }