public void ArtistTestInitialize() { Console.Out.Write("ArtistTestInitialize called..."); _artistRepository = new ArtistRepository(); _artist = new Artist(); }
public void DisableArtist(Artist artist) { db.Artists.Add(artist).Active = false; db.SaveChanges(); }
public void InsertArtist(Artist artist) { db.Artists.Add(artist); db.SaveChanges(); }
public void DeleteArtist(Artist artist) { db.Artists.Remove(artist); db.SaveChanges(); }