public ActionResult DisplayPostsWithStatus2() { var ops = new BlogPostOperations(); var vm = new HomeIndexViewModel(); vm.BlogPosts = ops.GetPostsWithStatus2(); vm.Categories = ops.GetAllCategories(); vm.StaticPages = ops.GetAllStaticPages(); return(View(vm)); }