public ActionResult GetList(string key) { var obj = key != Keyapi ? new List <CategoryItem>() : _da.GetList(Agencyid()); return(Json(obj, JsonRequestBehavior.AllowGet)); }
public IEnumerable <Product> GetList(string where = "", string orderby = "") { return(_da.GetList(where, orderby)); }