Пример #1
0
 public void Copy(IEnumerable <ArtistSong> response)
 {
     try
     {
         this._allArtistSongs.Clear();
         if (response.Count() > 0)
         {
             foreach (var item in response)
             {
                 var newitem = new ArtistSong_Bindable();
                 item.Copy(newitem);
                 this._allArtistSongs.Add(newitem);
             }
         }
     }
     catch (Exception e)
     {
         throw (e);
     }
 }
Пример #2
0
 public void Copy(ArtistSong_Bindable bindable)
 {
     bindable.Id    = id;
     bindable.Title = title;
 }