public async Task <ICollection <Sage> > GetAllAsync()
 {
     return(await _sageQuery.GetAllAsync());
 }
Beispiel #2
0
        public async Task <IActionResult> Get()
        {
            var sages = await _sageQuery.GetAllAsync();

            return(Ok(sages.Select(user => new SageVM(user))));
        }