public void D_Delete() { int songId = 0; Project.Data.Repository repo = new Project.Data.Repository(db); foreach (var i in repo.GetSongs()) { songId = i.Id; } repo.DeleteSong(songId); Assert.Pass(); }
public void D_Delete() { int songId = 0; Project.Data.Repository repo = new Project.Data.Repository(db); foreach (var i in repo.GetSongs()) { songId = i.Id; } repo.DeleteSong(songId); Assert.Pass(); }