public void AddArtist(ApiArtistClientResponseModel item) { if (!this.Artists.Any(x => x.Id == item.Id)) { this.Artists.Add(item); } }
public virtual ApiArtistClientRequestModel MapClientResponseToRequest( ApiArtistClientResponseModel response) { var request = new ApiArtistClientRequestModel(); request.SetProperties( response.AspNetUserId, response.Bio, response.ExternalId, response.Facebook, response.Name, response.SoundCloud, response.Twitter, response.Venmo, response.Website); return(request); }
public void SetArtistIdNavigation(ApiArtistClientResponseModel value) { this.ArtistIdNavigation = value; }