Exemplo n.º 1
0
 public IActionResult Get(string id)
 {
     try
     {
         var animal = animalService.Find(id);
         return(Ok(animal));
     }
     catch (Exception)
     {
         throw;
     }
 }