public ActionResult <Animal> Feed(int id) { Animal animal; try { animal = animalService.FeedAnimal(id); } catch (ArgumentNullException ex) { return(NotFound(ex.Message)); } return(animal); }