Exemple #1
0
 private void Logout()
 {
     backupManager.Logout();
     settingsManager.IsLoggedInToBackupService = false;
     // ReSharper disable once ExplicitCallerInfoArgument
     RaisePropertyChanged(nameof(IsLoggedIn));
 }
Exemple #2
0
        public async Task Logout()
        {
            await backupManager.Logout();

            settingsFacade.IsLoggedInToBackupService = false;
            settingsFacade.IsBackupAutouploadEnabled = false;
        }
Exemple #3
0
        public async Task <OperationResult> Logout()
        {
            var result = await backupManager.Logout();

            if (result.Success)
            {
                settingsFacade.IsLoggedInToBackupService = false;
                settingsFacade.IsBackupAutouploadEnabled = false;
            }

            return(result);
        }
 private void Logout()
 {
     backupManager.Logout();
     settingsManager.IsLoggedInToBackupService = false;
     RaisePropertyChanged(nameof(IsLoggedIn));
 }