Example #1
0
 private EMKServise.HealthGroupInfo ConvertHealthGroupInfo(HealthGroupInfo c)
 {
     if ((object)c != null)
     {
         EMKServise.HealthGroupInfo ehi = new EMKServise.HealthGroupInfo();
         if (c.Date != DateTime.MinValue)
         {
             ehi.Date = c.Date;
         }
         ehi.IdHealthGroup = c.IdHealthGroup;
         return(ehi);
     }
     else
     {
         return(null);
     }
 }
Example #2
0
 private EMKServise.HealthGroupInfo ConvertHealthGroupInfo(HealthGroupInfo c)
 {
     if ((object)c != null)
     {
         EMKServise.HealthGroupInfo ehi = new EMKServise.HealthGroupInfo();
         if (c.Date != DateTime.MinValue)
             ehi.Date = c.Date;
         ehi.IdHealthGroup = c.IdHealthGroup;
         return ehi;
     }
     else
         return null;
 }