public void AddAlbum(Album album) { if (album == null) { throw new ArgumentNullException(nameof(album)); } _context.Add(album); }
public void AddArtist(Artist artist) { if (artist == null) { throw new ArgumentNullException(nameof(artist)); } _context.Add(artist); }
public void AddGenre(Genre genre) { if (genre == null) { throw new ArgumentNullException(nameof(genre)); } _context.Add(genre); }