コード例 #1
0
 protected void ActivateResponse(string key)
 {
     try
     {
         var response = ProgramStorageQueries.GetResponse(key);
         if (response == null)
         {
             throw new Exception("response not valid");
         }
         ProgramStorageQueries.SetCurrentresponse(response);
     }
     catch (Exception e)
     {
         CMD.ShowApplicationMessageToUser($"message : {e.Message}\nroute : {this.ToString()}", showType: ShowType.DANGER);
     }
 }