public Task <selectBookingResponse> SelectBookingAsync(xmbSelectBooking selectBooking) { return(Task.Run(() => new selectBookingResponse(new xmbSelectBookingResponse { status = responseStatus.success }))); }
public Task <selectBookingResponse> SelectBookingAsync(xmbSelectBooking selectBooking) { _logger.LogInformation($"HackneyAppointmentsService/SelectBookingAsync(): Sent request to upstream AppointmentServiceClient (Id: {selectBooking.id})"); var response = _client.selectBookingAsync(selectBooking); _logger.LogInformation($"HackneyAppointmentsService/SelectBookingAsync(): Received response from upstream PropertyServiceClient (Id: {selectBooking.id})"); return(response); }