public JsonResult AutoCompleteGetSearch(string term)
 {
     LinqRestaurant linqRestaurant = new LinqRestaurant();
     LinqVille linqVille = new LinqVille();
     var resultVille = linqVille.GetVilleByValue(term.ToLower());
     var resultRestaurant = linqRestaurant.Search(term.ToLower());
     var result = resultVille.Union<object>(resultRestaurant);
     return Json(result, JsonRequestBehavior.AllowGet);
 }
 public JsonResult AutoCompleteGetVille(string term)
 {
     LinqVille linqVille = new LinqVille();
     var result = linqVille.GetVilleByValue(term);
     return Json(result, JsonRequestBehavior.AllowGet);
 }