private EMKServise.Participant ConvertParticipant(Participant c) { if ((object)c != null) { EMKServise.Participant ep = new EMKServise.Participant(); ep.IdRole = c.IdRole; ep.Doctor = ConvertMedicalStaff(c.Doctor); return(ep); } else { return(null); } }
private EMKServise.Participant ConvertParticipant(Participant c) { if ((object)c != null) { EMKServise.Participant ep = new EMKServise.Participant(); ep.IdRole = c.IdRole; ep.Doctor = ConvertMedicalStaff(c.Doctor); return ep; } else return null; }