public async Task <IActionResult> GetRoutes(HomePageViewModel model) { string urlToSend = getVehiclesByRouteURL + apiKey + routeFragment + model.routeType.ToString() + jsonFragment; var result = await WebCalls.GetUrl(urlToSend); ViewData["result"] = result; ParseAndSend(result); return(View()); }