Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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;
 }