Exemplo n.º 1
0
 public ActionResult <List <PetType> > getFilteredPetTypes(string type)
 {
     try
     {
         return(_petTypeService.GetAllByPetType(type));
     }
     catch (Exception g)
     {
         return(StatusCode(500, "f****d up"));
     }
 }