public ActionResult Index() { List <BlogPostModel> posts = CMSService.GetPosts().ToList(); return(View(posts)); }