Пример #1
0
        /// <summary>
        /// 葡萄列表
        /// </summary>
        /// <returns></returns>
        public ActionResult PutaoList(Guid guid)
        {
            GoodsLogic goodsLogic   = new GoodsLogic();
            var        categoryList = goodsLogic.GetCategoryByRank(0);

            ViewBag.Category = categoryList;
            ViewBag.Title    = "葡萄列表";
            var grapes = goodsLogic.GetGoodsList(guid);

            return(View(grapes));
        }
Пример #2
0
        public ActionResult GoodDetail(Guid goodGuid)
        {
            GoodsLogic goodsLogic   = new GoodsLogic();
            var        categoryList = goodsLogic.GetCategoryByRank(0);

            ViewBag.Category = categoryList;
            var good = goodsLogic.GetGoodDetaile(goodGuid);

            ViewBag.Title = good.GoodsName;
            return(View(good));
        }
Пример #3
0
        /// <summary>
        /// 苹果列表
        /// </summary>
        /// <returns></returns>
        public ActionResult AppleList(Guid guid)
        {
            GoodsLogic goodsLogic   = new GoodsLogic();
            var        categoryList = goodsLogic.GetCategoryByRank(0);

            ViewBag.Category = categoryList;
            ViewBag.Title    = "苹果列表";
            var apples = goodsLogic.GetGoodsList(guid);

            return(View(apples));
        }