Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult GetAllAnimals(AnimalType?type = null) { if (type == null) { return(Ok(animalService.Animals())); } else { return(Ok(animalService.AnimalOfType(type.Value))); } }