public PostModel( ICategoryPostsService postsService, IAdminCommentsService commentsService, IAdminRepliesService repliesService, IUserProfileService userService, UserManager <User> userManager) { this.postsService = postsService; this.commentsService = commentsService; this.repliesService = repliesService; this.userService = userService; this.userManager = userManager; }
public IndexModel(ICategoryPostsService postsService) { this.postsService = postsService; this.Posts = new List <PostConciseViewModel>(); this.Tags = new List <string>(); }
public PostsByCategory(ICategoryPostsService postsService) { this.postsService = postsService; }
public HomeController(ICategoryPostsService postsService, ICategoryService categoryService) { this.postsService = postsService; this.categoryService = categoryService; }