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