//get cityarea public JsonResult GetbyID(int AreaCode) { var citiesarea = db.ListCityArea().Find(x => x.AreaCode.Equals(AreaCode)); return(Json(citiesarea, JsonRequestBehavior.AllowGet)); }