コード例 #1
0
        public ActionResult AjaxView()
        {
            var model = _productApi.GetProductItem(ArrId.FirstOrDefault());

            return(View(model));
        }
コード例 #2
0
ファイル: PacketController.cs プロジェクト: ngochieu0302/IG42
        public ActionResult GetPricebiProductID(int id)
        {
            var model = _productApi.GetProductItem(id);

            return(Json(model, JsonRequestBehavior.AllowGet));
        }