public TagShort(Blog.Core.Entities.Tag tag) { if (tag != null) { Id = tag.Id; Name = tag.Name; IsPublished = tag.IsPublished; } }
public TagEditViewModel(Blog.Core.Entities.Tag tag) { Id = tag.Id; Name = tag.Name; Alias = tag.Alias; SeoTitle = tag.SeoTitle; SeoDescription = tag.SeoDescription; Keywords = tag.SeoKeywords; Score = tag.Score; IsPublished = tag.IsPublished; }
public TagResume(Blog.Core.Entities.Tag tag) { if (tag != null) { Id = tag.Id; Name = tag.Name; IsPublished = tag.IsPublished; Score = tag.Score; SeoTitle = tag.SeoTitle; } }