public Task <WebResponse> IssueOrderAsync(WorksOrderRequest request) { _logger.LogInformation($"HackneyRepairsService/IssueOrderAsync(): Sent request to upstream RepairServiceClient (Order ref: {request.OrderReference})"); var response = _client.IssueOrderAsync(request); _logger.LogInformation($"HackneyRepairsService/IssueOrderAsync(): Received response from upstream RepairServiceClient (Order ref: {request.OrderReference})"); return(response); }
public Task <WebResponse> IssueOrderAsync(WorksOrderRequest request) { var response = new WebResponse { Success = true }; return(Task.Run(() => response)); }