Esempio n. 1
0
        public async Task <IActionResult> GetAll()
        {
            var result = await _userQueries.GetAll();

            return(Ok(result));
        }
Esempio n. 2
0
 protected override async Task <IReadOnlyList <EditableUserUpdate> > LoadAsync()
 {
     return(await Task.Run(() => _userQueries.GetAll().Select(a => new EditableUserUpdate(a)).ToList()));
 }