Пример #1
0
 public void CreateArtist(Artist newArtist)
 {
     _artistRepository.Create(newArtist);
     Artists.Add(newArtist);
 }
Пример #2
0
 public void DeleteArtist(Artist delArtist)
 {
     _artistRepository.Delete(delArtist);
     Artists.Remove(delArtist);
 }
Пример #3
0
 public void UpdateArtist(Artist updatedArtist)
 {
     _artistRepository.Update(updatedArtist);
 }