Ejemplo n.º 1
0
        public ActionResult Detail(string id = "", string name = "", int cateid = 0, string catename = "", int page = 1, string sort = "standard")
        {
            ProductInfo product = ProductRakutenUtils.getDetail(1, cateid, sort, "", "", catename, id);

            ViewBag.Title = product.name;
            return(View(product));
        }
Ejemplo n.º 2
0
        // GET: Product
        public ActionResult Category(int id = 0, string name = "", int page = 1, string sort = "standard")
        {
            Pager pager = new Pager(10, 100, 5, Request.Url.AbsoluteUri);
            var   list  = ProductRakutenUtils.getProductList(page, id, sort, "", "", name);

            ViewBag.Title = name;
            return(View(list));
        }
Ejemplo n.º 3
0
        // GET: rakuten/Home
        public ActionResult Index()
        {
            List <ProductInfo> list = ProductRakutenUtils.getProductHome();

            return(View(list));
        }