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