示例#1
0
        public async void LoadAccounts(IEnumerable <int> bailsIds)
        {
            var ReturnedAccoutns = await _apiClient.Accounts_GetByIdsAsync(bailsIds);

            _SourceAccounts = ReturnedAccoutns;

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

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