Example #1
0
 public async Task <IActionResult> GetAll()
 {
     return(ActionResultInstance(await _userService.GetAllAsync()));
 }
Example #2
0
        public async Task <IActionResult> GetAll()
        {
            var lines = await _btnService.GetAllAsync();

            return(Ok(lines));
        }