
Метод
[HttpPost]
[Route("Paging")]
public async ActionResult Paging(int CurrentPage)
{
CurrentPage = CurrentPage;
return _dropdowncontext.cities.OrderBy(x=>x.CityId).Skip((CurrentPage - 1) * 5).Take(5);
}
Подробнее здесь: https://stackoverflow.com/questions/590 ... iven-error
Мобильная версия