public List <CatCard> Get() { return(cardDAO.GetAllCards()); }
public ActionResult <List <CatCard> > GetAllCards() { return(Ok(cardDAO.GetAllCards())); }
public List <CatCard> AllCatCards() //get ActionResult instead { return(cardDAO.GetAllCards()); }