public DataResult <bool> DisableTwoFactorAuth(int userId) { try { m_userUoW.DisableTwoFactorAuth(userId); return(Success(true)); } catch (DatabaseException e) { m_logger.LogWarning(e); return(Error <bool>(e.Message)); } }
public DataResult <bool> DisableTwoFactorAuth(int userId) { try { m_userUoW.DisableTwoFactorAuth(userId); return(Success(true)); } catch (DatabaseException e) { m_logger.LogWarning(e); return(Error <bool>(e.Message)); } }