示例#1
0
 public Album(string name, IEnumerable<Track> songs, Genre genre)
 {
     Name = name;
     Tracks = songs;
     Genre = genre;
     Id = Guid.NewGuid();
 }
示例#2
0
 public void Add(Genre obj)
 {
     genres.Add(obj);
 }