コード例 #1
0
 public ServiceResult <bool> ClearTempClass()
 {
     try
     {
         var Clear = questionRepository.ClearTempClass();
         if (Clear.Success)
         {
             return(ServiceResult <bool> .SuccessFunc());
         }
         else
         {
             return(null);
         }
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.Message);
         return(ServiceResult <bool> .ErrorFunc());
     }
 }