/// <summary> /// Deletes password reset token for specific user. When it fails, i.e. user is not found, just logs error and returns /// because it is not necessary to further handle this kind of error /// </summary> /// <param name="userId">Id of user</param> public void DeletePasswordResetToken(int userId) { try { m_userUoW.DeletePasswordResetToken(userId); } catch (NoResultException <UserEntity> e) { m_logger.LogWarning(e); } catch (DatabaseException e) { m_logger.LogWarning(e); } }