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