public ActionResult <IEnumerable <Cake> > Get()
 {
     return(cakeRepository.All().ToArray());
 }
Beispiel #2
0
 public List <Cake> All()
 {
     return(_cakeRepository.All());
 }