public JsonResult getRFARequestBodyPartByRequestID(int _requestID) { var RFAReqBodyPart = _intakeService.getRFARequestBodyPartByRequestID(_requestID); List <string> list_SelectedBodyPart = new List <string>(); foreach (var bodypart in RFAReqBodyPart) { //SelectedBodyPart += "'" + bodypart.ClaimBodyPartID + "-" + bodypart.BodyPartType + "'" + ","; list_SelectedBodyPart.Add(bodypart.ClaimBodyPartID + "-" + bodypart.BodyPartType); } return(Json(list_SelectedBodyPart)); }