Exemplo n.º 1
0
        private void CreateTrack(int albumId, Track track)
        {
            var trackId = _trackRepos.CreateTrack(track);

            var insertXr = @"INSERT INTO dbo.xrAlbumTrack VALUES(AlbumId,TrackId)
VALUES (@albumId,@trackId)";

            _database.Execute(insertXr, new { albumId = albumId, trackId = trackId });
        }