Пример #1
0
        public ActionResult Index()
        {
            var bRepo = new BlogRepo();
            var list  = bRepo.GetAllBlogPosts();

            return(View(list));
        }