Esempio n. 1
0
 public static PortalEntity Map(PortalItem source, PortalEntity target)
 {
     target.Name         = source.Name;
     target.Uri          = source.Uri;
     target.Domain       = source.Domain;
     target.Description  = source.Description;
     target.GATrackingId = source.GATrackingId;
     target.ModifiedDate = DateTime.UtcNow;
     return(target);
 }
Esempio n. 2
0
 public static PortalItem Map(PortalEntity source, PortalItem target)
 {
     target.Id           = source.Id;
     target.Name         = source.Name;
     target.Uri          = source.Uri;
     target.Domain       = source.Domain;
     target.Description  = source.Description;
     target.GATrackingId = source.GATrackingId;
     target.CreatedDate  = source.CreatedDate;
     target.ModifiedDate = source.ModifiedDate;
     return(target);
 }