public DataTablesResult(string sEcho, int iTotalRecords, int iTotalDisplayRecords, IEnumerable <object> aaData) { var dataTablesRespone = new DataTablesResponse(); dataTablesRespone.sEcho = sEcho; dataTablesRespone.iTotalRecords = iTotalRecords; dataTablesRespone.iTotalDisplayRecords = iTotalDisplayRecords; dataTablesRespone.aaData = aaData; Data = dataTablesRespone; }
public DataTablesResult(string sEcho, int iTotalRecords, int iTotalDisplayRecords, IEnumerable<object> aaData) { var dataTablesRespone = new DataTablesResponse(); dataTablesRespone.sEcho = sEcho; dataTablesRespone.iTotalRecords = iTotalRecords; dataTablesRespone.iTotalDisplayRecords = iTotalDisplayRecords; dataTablesRespone.aaData = aaData; Data = dataTablesRespone; }
public DataTablesResult(DataTablesResponse response) { Data = response; }
public DataTablesResult(DataTablesResponse response) { Data = response; }