public ActionResult AutoCompleteTownSearch(string town, int region) { var towns = locationManager.GetTownsByRegion(region) .Where(e => e.TownName.ToLower().Contains(town.ToLower())) .Select(e => e.TownName); return(Json(towns, JsonRequestBehavior.AllowGet)); }