예제 #1
0
        public void SignOut()
        {
            try
            {
                if (_appSettings.Data.FacebookEnabled)
                {
                    _facebookService.Disconnect();
                }
            }
            catch (Exception ex)
            {
                Logger.LogError(ex);
            }

            try
            {
                if (_appSettings.Data.TwitterEnabled &&
                    _twitterService.IsConnected)
                {
                    _twitterService.Disconnect();
                }
            }
            catch (Exception ex)
            {
                Logger.LogError(ex);
            }

            ClearCache();
        }