Esempio n. 1
0
 protected Content(string title, string description, Creator creator, Category category = null)
 {
     Title       = title;
     Description = description;
     Category    = category;
     Creator     = creator;
     State       = ContentState.Created;
     CreatedAt   = DateTime.UtcNow;
     AdsEnabled  = true;
     creator.AddContent(this);
 }