public ActionResult SkuAddAttribute() { SKU sku = RemotingHelp.GetModelObject <SKU>(); ViewBag.Attributes = sku.GetAttributeInfos(); return(View()); }
public ActionResult GetAttributeInfos() { SKU sku = RemotingHelp.GetModelObject <SKU>(); return(Json( sku.GetAttributeInfos(), JsonRequestBehavior.AllowGet)); }