Ejemplo n.º 1
0
        private static async Task <ScItemsResponse> GetItemByIdWithRequestBuilder(IScopedRequestParametersBuilder <IReadItemsByIdRequest> requestBuilder, IReadItemActions session)
        {
            var request  = requestBuilder.Build();
            var response = await session.ReadItemAsync(request);

            return(response);
        }
    private static async Task<ScItemsResponse> GetItemByIdWithRequestBuilder(IScopedRequestParametersBuilder<IReadItemsByIdRequest> requestBuilder, IReadItemActions session)
    {
      var request = requestBuilder.Build();
      var response = await session.ReadItemAsync(request);

      return response;
    }