public static void CopyIssuedFromAudit(this Observation observation, HealthServiceAudit created)
 {
     if (created != null)
     {
         observation.Issued = created.Timestamp.ToDateTimeOffset();
     }
 }
Пример #2
0
 public static void CopyLastUpdatedFromAudit(this Resource resource, HealthServiceAudit lastUpdated)
 {
     if (lastUpdated != null)
     {
         resource.CreateMetaIfNeeded();
         resource.Meta.LastUpdated = lastUpdated.Timestamp.ToDateTimeOffset();
     }
 }