public PartialViewResult GetNext(string region, int count) { var model = new RegionModel { Urls = GetImageUrls(region).Skip(count).Take(ImageLoadCount).ToList(), Region = region, Count = count + ImageLoadCount }; return PartialView("ForecastRow", model); }
private ActionResult ReturnToIndex(string region) { var model = new RegionModel { Region = region, Count = ImageLoadCount, Urls = ScreenScraper.GetImageUrls(region) }; return View("Index", model); }