//BlogGrid View public IActionResult BlogGrid() { var model = new HomeViewModel { Categories = _homeRepository.GetCategories(), Settings = _homeRepository.GetSettings(), Blogs = _homeRepository.GetBlogs(6), BlogImages = _blogRepository.ImagesTrue() }; return(View(model)); }