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