Beispiel #1
0
 public void AddArtist(ApiArtistClientResponseModel item)
 {
     if (!this.Artists.Any(x => x.Id == item.Id))
     {
         this.Artists.Add(item);
     }
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public void SetArtistIdNavigation(ApiArtistClientResponseModel value)
 {
     this.ArtistIdNavigation = value;
 }