void RestoreAccountInformation() { var account = Cache.Current.Get<AccountInfo>("AccountInfo"); if (account != null) { QuotaInformation = new Quota(account.quota_info); Account = account; RaisePropertyChanged("Account"); RaisePropertyChanged("QuotaInformation"); } }
void OnGetAccountInfo(AccountInfo acc) { Utilities.ShowProgressIndicator(false); Account = acc; QuotaInformation = new Quota(acc.quota_info); RaisePropertyChanged("QuotaInformation"); SaveAccountInformation(); }