public async Task <bool> Unfollow(UnfollowRequest request) { Ensure.ArgumentNotNull(request, nameof(request)); var statusCode = await API .Delete(URLs.CurrentUserFollower(), request.BuildQueryParams(), request.BuildBodyParams()) .ConfigureAwait(false); return(statusCode == HttpStatusCode.NoContent); }
public Task <FollowedArtistsResponse> OfCurrentUser(FollowOfCurrentUserRequest request) { Ensure.ArgumentNotNull(request, nameof(request)); return(API.Get <FollowedArtistsResponse>(URLs.CurrentUserFollower(), request.BuildQueryParams())); }