public ActionResult <List <Cat> > Get() { return(_context.GetAllCats()); }
public void OnGet() { Cats = _db.GetAllCats(); }