private void Logout() { backupManager.Logout(); settingsManager.IsLoggedInToBackupService = false; // ReSharper disable once ExplicitCallerInfoArgument RaisePropertyChanged(nameof(IsLoggedIn)); }
public async Task Logout() { await backupManager.Logout(); settingsFacade.IsLoggedInToBackupService = false; settingsFacade.IsBackupAutouploadEnabled = false; }
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)); }