Exemplo n.º 1
0
        public ActionResult IndexData(Models.DataTables.jqDataTableInput input, int?Type_ID, int?SubType_ID, int?Category_ID, DateTime?fromDate, DateTime?toDate, bool EssenseOnly, bool ExpiredOnly, bool OpenOnly, bool FileOnly, bool SiteOnly)
        {
            var source = EventsOperations.GetEventsByFilter(null, Type_ID, SubType_ID, Category_ID, fromDate, toDate, EssenseOnly, ExpiredOnly, OpenOnly, FileOnly, SiteOnly);

            System.Linq.Expressions.Expression <Func <EventsFullListRowViewModel, bool> > prefilter = null;
            return(new Models.DataTables.DataTablesActionResult <EventsFullListRowViewModel>(source, input, prefilter));
        }