コード例 #1
0
        public ActionResult SkuAddAttribute()
        {
            SKU sku = RemotingHelp.GetModelObject <SKU>();

            ViewBag.Attributes = sku.GetAttributeInfos();
            return(View());
        }
コード例 #2
0
        public ActionResult GetAttributeInfos()
        {
            SKU sku = RemotingHelp.GetModelObject <SKU>();

            return(Json(
                       sku.GetAttributeInfos(),
                       JsonRequestBehavior.AllowGet));
        }