public ActionResult Index() { YummyOnlineManager manager = new YummyOnlineManager(); var ids = manager.GetHotelIds(); return(Json(ids, JsonRequestBehavior.AllowGet)); }