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