public void InsertSelectedArtist(Object obj)
        {
            int insertedId;

            if (ArtistSelected.ArtistId < 0)
            {
                insertedId = DataAccess.AddArtist(_artistSelected);
                _artistSelected.ArtistId = insertedId;
            }
            else
            {
                insertedId = ArtistSelected.ArtistId;
            }

            DataAccess.AddRecommandation(Artist.ArtistId, insertedId);
            ArtistsRelatedList.Remove(_artistSelected);

            if (ArtistsRelatedList.Count > 0)
            {
                ShowRelatedArtistList = true;
                NoRelatedToAdd        = false;
            }
            else
            {
                ShowRelatedArtistList = false;
                NoRelatedToAdd        = true;
            }

            ArtistsRecommandationList.Add(DataAccess.GetArtistById(insertedId));
        }
 public void AddArtist(Object obj)
 {
     DataAccess.AddArtist(_artist); CloseAction();
 }