Beispiel #1
0
        public override async Task <EmptyResponse> DeleteWatchlist(DeleteWatchlistRequest request, ServerCallContext context)
        {
            var token    = context.GetBearerToken();
            var response = await _walletApiV1Client.WatchListsDeleteAsync(request.Id, token);

            var result = new EmptyResponse();

            if (response.Error != null)
            {
                result.Error = response.Error.ToApiError();
            }

            return(result);
        }
Beispiel #2
0
        public override async Task <DeleteWatchlistResponse> DeleteWatchlist(DeleteWatchlistRequest request, ServerCallContext context)
        {
            var response = new DeleteWatchlistResponse();

            return(response);
        }