public ActionResult <FilteredList <PetType> > Get([FromQuery] FilterSearch filter) { return(_typeService.GetAllTypes(filter)); }
public ActionResult <IEnumerable <Pettype> > Get() { return(_petTypeService.GetAllTypes()); }