Пример #1
0
        public ActionResult GetListByProductDetailsId(string key, int productDetailId)
        {
            var obj = Request["key"] != Keyapi ? new List <ProductItem>() : _da.GetListByProductDetailsId(Agencyid(), productDetailId);

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