Exemple #1
0
        public IActionResult GetDogs()
        {
            var result = _dogService.GetAllDogs();

            return(Ok(result));
        }
 public async Task <IActionResult> GetAllDogs()
 {
     return(Ok(await dogsService.GetAllDogs()));
 }