public ResultSrv <string> BookingSubmit() { try { var output = new ResultSrv <string>(); var bookingSubmitVo = BookingSubmitVo.ConcreteBuilder .SetServiceCallParameters(internalServiceCallVo) .Build(); BookingService.BookingSubmit(bookingSubmitVo, response => Listener.GetResult(response, out output)); return(output); } catch (PodException podException) { Console.WriteLine( $"-- {podException.Code}-an error has occured : {Environment.NewLine}{podException.Message}"); throw; } catch (Exception exception) { Console.WriteLine(exception.Message); throw; } }