public ActionResult GetStateBycity(int Id) { var record = service.GetStatByCityId(Id); return(new JsonResult { Data = record, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }