Autocomplete service center name

This commit is contained in:
2015-10-12 22:45:36 -04:00
parent d87f654a20
commit 49c55ffba6
6 changed files with 39 additions and 1 deletions
@@ -105,5 +105,11 @@ namespace MileageTraker.Web.Controllers
}
return View(viewModel);
}
public JsonResult ServiceCenterNameAutocomplete(string term)
{
var names = DataService.GetServiceCenterNamesAutocomplete(term);
return Json(names, JsonRequestBehavior.AllowGet);
}
}
}