public ActionResult GetGrid(Pagination pagination, string queryJson) { var data = new { rows = dbBackupApp.GetList(pagination, queryJson), total = pagination.total, page = pagination.page, records = pagination.records }; return(Content(data.ToJson())); }
public ActionResult GetGridJson(string queryJson) { var data = dbBackupApp.GetList(queryJson); return(Content(data.ToJson())); }
public async Task <IActionResult> GetGridJson(string queryJson) { var data = await dbBackupApp.GetList(queryJson); return(Content(data.ToJson())); }
public ActionResult GetGridJson(string keyword) { var data = dbBackupApp.GetList(keyword); return(ResultLayUiTable(data.Count, data)); }