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