public ActionResult GetGridJson(Pagination pagination, string queryJson) { pagination.sord = "asc"; pagination.sidx = "F_Date"; var data = logApp.GetList(pagination, queryJson); return(DataGrid(pagination.total, data)); }
public ActionResult GetGridJson(Pagination pagination, string keyword, int timetype = 2) { pagination.order = "asc"; pagination.sort = "F_Date"; var data = logApp.GetList(pagination, timetype, keyword).OrderByDescending(a => a.F_CreatorTime).ToList(); return(ResultLayUiTable(pagination.records, data)); }
public ActionResult GetGridJson(Pagination pagination, string queryJson) { var data = new { rows = logApp.GetList(pagination, queryJson), total = pagination.total, page = pagination.page, records = pagination.records }; return(Content(data.ToJson())); }
public ActionResult GetAllGridJson(string queryJson) { var data = logApp.GetList(queryJson); return(Content(data.ToJson())); }