Ejemplo n.º 1
0
 public static void CopyEntityProperties(SystemNewsLocalizedEntity source,
                                         SystemNewsLocalizedEntity target)
 {
     target.Header          = source.Header;
     target.Id              = source.Id;
     target.Language        = source.Language;
     target.NewsContentText = source.NewsContentText;
     target.SystemNewsId    = source.SystemNewsId;
 }
Ejemplo n.º 2
0
        public static SystemNewsLocalizedDto FromEntityToDto(SystemNewsLocalizedEntity source)
        {
            SystemNewsLocalizedDto target = new SystemNewsLocalizedDto();

            target.Header          = source.Header;
            target.Id              = source.Id;
            target.Language        = source.Language;
            target.NewsContentText = source.NewsContentText;
            target.SystemNewsId    = source.SystemNewsId;
            return(target);
        }