Ejemplo n.º 1
0
        public ActionResult <List <ProductReview> > GetAll()
        {
            List <ProductReview> reviews = dao.GetAll();

            // Return 200 OK
            return(Ok(reviews));
        }
Ejemplo n.º 2
0
        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());
        }
Ejemplo n.º 3
0
        public ActionResult <List <Item> > GetAll()
        {
            List <Item> items = dao.GetAll();

            return(Ok(items));
        }