예제 #1
0
 public async Task <IActionResult> List()
 {
     return(Ok(await _adminService.GetListAsync()));
 }
예제 #2
0
        public IEnumerable <string> Get()
        {
            var res = _sysAdminService.GetListAsync();

            return(new string[] { "value1", "value2" });
        }