public ActionResult <List <Pet> > Get() { return(_repository.GetPets()); }
public IActionResult Get() { return(Ok(_repository.GetPets())); }
public IActionResult Pets(PagerSettings settings) { var result = _petsRepository.GetPets(settings); return(View(result)); }