/// <summary> /// display current response /// </summary> protected void ShowCurrentResponse() { try { var response = ProgramStorageQueries.GetCurrentResponse(); CMD.ShowApplicationMessageToUser($"{ProgramStorageQueries.GetResponseKey(response ?? throw new Exception("response not valid"))} \t " + $": {ProgramStorageQueries.GetCurrentResponse().ResponseUri}"); } catch (Exception e) { CMD.ShowApplicationMessageToUser($"message : {e.Message}\nroute : {this.ToString()}", showType: ShowType.DANGER); } }