private EMKServise.MedicalStaff ConvertMedicalStaff(MedicalStaff c) { if ((object)c != null) { EMKServise.MedicalStaff em = new EMKServise.MedicalStaff(); if (c.IdLpu != "") { em.IdLpu = c.IdLpu; } em.IdPosition = c.IdPosition; em.IdSpeciality = c.IdSpeciality; em.Person = ConvertPersonWithIdentity(c.Person); return(em); } else { return(null); } }
private EMKServise.MedicalStaff ConvertMedicalStaff(MedicalStaff c) { if ((object)c != null) { EMKServise.MedicalStaff em = new EMKServise.MedicalStaff(); if (c.IdLpu != "") em.IdLpu = c.IdLpu; em.IdPosition = c.IdPosition; em.IdSpeciality = c.IdSpeciality; em.Person = ConvertPersonWithIdentity(c.Person); return em; } else return null; }