Esempio n. 1
0
        public Song Create(Song song)
        {
            var createdArtist = _db.Songs.Add(song);

            _db.SaveChanges();
            return(song);
        }
Esempio n. 2
0
        public Album Create(Album album)
        {
            var createdArtist = _db.Albums.Add(album);

            _db.SaveChanges();
            return(album);
        }
Esempio n. 3
0
        public Artist Create(Artist artist)
        {
            var createdArtist = _db.Artists.Add(artist);

            _db.SaveChanges();
            return(artist);
        }