示例#1
0
        public async Task <IActionResult> Get()
        {
            var values = await valueService.GetAllValues();

            return(Ok(values));
        }
 public Task <IEnumerable <ValueModel> > Get()
 {
     return(_valueService.GetAllValues());
 }