Exemplo n.º 1
0
        public async Task <string> CreateOrder()
        {
            _loggerWriter.Debug("CreateOrder triggered");
            var result = await _httpRequester.ProcessPostRequest <string, string>($"{_apiUrl}/create/",
                                                                                  deserializeFunc : (response, serializer) => response);

            _loggerWriter.Debug($"CreateOrder was succeeded with orderId:{result} ");
            return(result);
        }