public JsonResult GetContractListbyProjectId(string id) { string result = string.Empty; BCBSClient client = new BCBSClient(); List<ContractListModel> ContractList = new List<ContractListModel>(); result = client.GetcontractListByProjectId(Convert.ToInt64(id)); if (!string.IsNullOrEmpty(result)) { ContractList = JsonConvert.DeserializeObject<List<ContractListModel>>(result).ToList(); } return Json(ContractList, JsonRequestBehavior.AllowGet); }