public async Task <IActionResult> GetAll() { var result = await _userQueries.GetAll(); return(Ok(result)); }
protected override async Task <IReadOnlyList <EditableUserUpdate> > LoadAsync() { return(await Task.Run(() => _userQueries.GetAll().Select(a => new EditableUserUpdate(a)).ToList())); }