常用方法
常用方法
常用方法
常用方法
public void AddArtist() { if (artists.Where(a => a.Name == artist.Name).FirstOrDefault() == null) { DALService.AddArtist(artist); artists.Add(artist); Artist = new Artist(); } }
public void AddArtist() { if (artists.Where(a => a.Name == artist.Name).FirstOrDefault() == null) { DALService.AddArtist(artist); artists.Add(artist); Artist = new Artist(); } }