Example #1
0
        public ActionResult GetList(string key)
        {
            var obj = key != Keyapi ? new List <CategoryItem>() : _da.GetList(Agencyid());

            return(Json(obj, JsonRequestBehavior.AllowGet));
        }
Example #2
0
 public IEnumerable <Product> GetList(string where = "", string orderby = "")
 {
     return(_da.GetList(where, orderby));
 }