public bool IsInstanceOrChildren(Genre genre) { return(genre == this || ChildGenres.Any(it => it.IsInstanceOrChildren(genre))); }
public void AddParent(Genre genre) { this.ParentGenres.Add(genre); }
public Artist(string name, Genre genre) { this.Name = name; this.Genre = genre; }