Exemple #1
0
 public PromotedArticlesEntityDto(PromotedArticlesEntity model)
 {
     Id            = model.Id;
     Created       = model.Created;
     Modified      = model.Modified;
     Name          = model.Name;
     NewsArticless = model.NewsArticless;
 }
Exemple #2
0
        public static ServersidePromotedArticlesEntity Convert(PromotedArticlesEntity model)
        {
            var dto = new PromotedArticlesEntityDto(model);

            return(dto.GetServersidePromotedArticlesEntity());
        }