Beispiel #1
0
        public async void LoadAccounts()
        {
            var accoutnsCount = await _apiClient.Accounts_GetAccountsCountAsync();

            var ReturnedAccoutns = await _apiClient.Accounts_GetAllAsync(accoutnsCount, 0);

            _SourceAccounts = ReturnedAccoutns;

            Accounts = new ObservableCollection <AccountModel>(_mapperService.MapToAccountModel(_SourceAccounts));

            DataLoaded?.Invoke(this, new EventArgs());
        }