예제 #1
0
 public JsonResult Geolocation(double latitude, double longitude, string open)
 {
     var model = new SearchResultModel(new FilterEditModel(latitude, longitude, open));
     return Json(model.Locations, JsonRequestBehavior.AllowGet);
 }
예제 #2
0
 public ActionResult SearchFromBarId(int id)
 {
     throw new System.Exception("TODO");
     var model = new SearchResultModel(id);
     return View("Search", model);
 }
예제 #3
0
 public JsonResult Default(IList<string> zipcodes, string open)
 {
     var model = new SearchResultModel(new FilterEditModel(zipcodes, open));
     return Json(model.Locations, JsonRequestBehavior.AllowGet);
 }