public async Task <ActionResult <IEnumerable <AnimalDto> > > GetAllHiddenAnimals() { try { var animals = await _animalService.GetAllHiddenAnimals(); return(Ok(animals)); } catch (Exception ex) { //log error return(BadRequest(ex.Message)); } }