public ActionResult <List <ProductReview> > GetAll() { List <ProductReview> reviews = dao.GetAll(); // Return 200 OK return(Ok(reviews)); }
public System.Collections.IList GetAll() { Check.Require(_IsInitialized, "The class is not initialized yet."); foreach (EntitySecurityBase checker in this.SecurityCheckers) { checker.GetAll(); } return(DataAccessObject.GetAll()); }
public ActionResult <List <Item> > GetAll() { List <Item> items = dao.GetAll(); return(Ok(items)); }