Example #1
0
 /// <summary>
 /// 重置未提醒扫描状态:正在扫描=>等待扫描
 /// </summary>
 /// <returns></returns>
 public bool ResetNotNoticeScanningToWait()
 {
     try
     {
         using (var scope = TransactionUtilities.CreateTransactionScopeWithNoLock())
         {
             _userInfoRepository.ChangeScanningToWait();
             scope.Complete();
             return(true);
         }
     }
     catch (Exception ex)
     {
         return(false);
     }
 }