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

            return(dto.GetServersidePromotedArticlesEntity());
        }