private Snapshot_ArtistRecs CastToArtistRecsSnapshot(ArtistRecs artistRecs)
        {
            var snapshotArtists = new Snapshot_ArtistRecs();

            snapshotArtists.CloneArtistRecsId = (int)artistRecs.id;
            snapshotArtists.Name = artistRecs.name;
            return(snapshotArtists);
        }
 public Snapshot_ArtistRecs SaveSnapshotArtistRecs(Snapshot_ArtistRecs artistRecsSnapshot)
 {
     using (var context = new DataContext())
     {
         context.Snapshot_ArtistRecs.Add(artistRecsSnapshot);
         context.SaveChanges();
         return(artistRecsSnapshot);
     }
 }