public HomeController(PostListService postListService) { _postListService = postListService; ViewData["Title"] = "Animal Blog"; }
public PostController(PostListService postListService, CategoryServices categoryServices) { _categoryServices = categoryServices; _postListService = postListService; }