Exemplo n.º 1
0
 public int GetPersonsId(int userId)
 {
     try {
         int personsId = _userEngine.GetPersonsIdFromCache(userId);
         if (personsId == 0)
         {
             RePullUsers();
         }
         return(_userEngine.GetPersonsIdFromCache(userId));
     } catch (Exception e) {
         _exceptionHandlerLogic.LogExceptionAsync(e);
         throw e;
     }
 }