Пример #1
0
 private EMKServise.Guardian ConvertGuardian(Guardian c)
 {
     if ((object)c != null)
     {
         EMKServise.Guardian ed = new EMKServise.Guardian();
         ed.IdRelationType = c.IdRelationType;
         ed.Person         = ConvertPersonWithIdentity(c.Person);
         if (c.UnderlyingDocument != "")
         {
             ed.UnderlyingDocument = c.UnderlyingDocument;
         }
         return(ed);
     }
     else
     {
         return(null);
     }
 }
Пример #2
0
 private EMKServise.Guardian ConvertGuardian(Guardian c)
 {
     if ((object)c != null)
     {
         EMKServise.Guardian ed = new EMKServise.Guardian();
         ed.IdRelationType = c.IdRelationType;
         ed.Person = ConvertPersonWithIdentity(c.Person);
         if (c.UnderlyingDocument != "")
             ed.UnderlyingDocument = c.UnderlyingDocument;
         return ed;
     }
     else
         return null;
 }