public Book() { Author = new Author(); Edition = rand.Next(); Pages = new List<Page>(); Id = counter++; }
public Book(Author author, string title) : this(title) { Author = author; }
public Book(Author author, string title, string releaseDate) : this(title) { Author = author; ReleaseDate = releaseDate; }
public AuthorViewModel(Author model) { Model = model; PublishedBooks = new ObservableCollection<BookViewModel>(); }
public GameCatalogue() { Author = new Author(); Games = new List<Game>(); }
public GameCatalogue(Author author, string title) : this() { Author = author; Title = title; }
public GameCatalogue(Author author, string title, List<Game> games) : this(author, title) { Games = games; }