public ActionResult <PetType> Get() { try { return(Ok(_petTypeService.getAllPetTypes())); } catch (Exception e) { return(StatusCode(500, e.Message)); } }