Пример #1
0
        // GET: Fashion
        public async Task<ActionResult> Index(int page = 1)
        {

            return View(await _blogDbContext.GetPaginatableArticleDataAsync(page, _itemsPerPage));
        }
 public async Task <ActionResult> IndexAsync(int page = 1)
 {
     ViewBag.Title = "Home";
     return(View(await _blogDbContext.GetPaginatableArticleDataAsync(page, _itemsPerPage)));
 }