public ActionResult Index() { // base.GetAllRegionByServiceArea(1); LocationPageView locationPageView = new LocationPageView { ServiceAreas = base.GetAllServiceArea(), LastRegion = base.GetLastRegion(), }; return(View("Index", locationPageView)); }
public RedirectToRouteResult Index(LocationPageView view) { string regionId = Request.Form["hdnRegionId"]; return(RedirectToAction("Index", "Store", new { area = "Customer", id = regionId })); }