Example #1
0
        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));
        }
Example #2
0
 public jsonBuilder(EISDataTables datatable)
 {
     datatables = datatable;
 }
Example #3
0
 public QueryBuilder(EISDataTables datatable)
 {
     datatables = datatable;
 }