public static string getDataJson(HttpRequestBase Request, int?companyID, SASContext db) { EISDataTables TableParams = new EISDataTables(); TableParams.BindModel(Request); QueryBuilder query = new QueryBuilder(TableParams); query.FilterPagingSortingSearch(companyID); ButtonTemplates buttonTemplates = new ButtonTemplates(); buttonTemplates.fillTemplates(TableParams.buttonsOptions); jsonBuilder json = new jsonBuilder(TableParams); return(json.getDataJson(db, query, buttonTemplates)); }
public jsonBuilder(EISDataTables datatable) { datatables = datatable; }
public QueryBuilder(EISDataTables datatable) { datatables = datatable; }