private async Task LoadUsers()
        {
            var   t = Task.Run(() => _appIdentity.GetAll());
            await t;

            if (t != null)
            {
                ListaAtendentes = new SelectList(t.Result, nameof(ApplicationUser.UserName), nameof(ApplicationUser.UserName), null);
            }
        }
Exemplo n.º 2
0
        private async Task LoadAsync()
        {
            var   t = Task.Run(() => _appIdentity.GetAll());
            await t;

            Input = new()
            {
                Users = t.Result
            };
        }