public ActionResult <PetType> Delete(int id) { var petType = _petTypeService.RemovePetType(id); if (petType == null) { return(StatusCode(404, "Did not find Pet Type with ID " + id)); } return(Ok($"Pet Type with ID: {id} has been deleted")); }