Example #1
0
        public ActionResult GetListSimple(string key, int agencyId)
        {
            var obj = key != Keyapi ? new List <ProductItem>() : _da.GetListSimple(agencyId);

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