public ActionResult IndexData(Models.DataTables.jqDataTableInput input, int?Type_ID, int?SubType_ID, bool InMailingListOnly) { var source = PersonOperations.GetRows(Type_ID, SubType_ID, InMailingListOnly); System.Linq.Expressions.Expression <Func <PersonEventsListRowViewModel, bool> > prefilter = null; return(new Models.DataTables.DataTablesActionResult <PersonEventsListRowViewModel>(source, input, prefilter)); }
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)); }
public ActionResult DataByPersonCard(Models.DataTables.jqDataTableInput input, int?Person_ID) { var source = ppOperations.GetDataByPersonID(Person_ID); System.Linq.Expressions.Expression <Func <PersonProjectViewModel, bool> > prefilter = null; return(new Models.DataTables.DataTablesActionResult <PersonProjectViewModel>(source, input, prefilter)); }
public ActionResult IndexData(Models.DataTables.jqDataTableInput input, int?filterId) { var data = EventTypeOperations.GetData(); if (filterId.HasValue) { data = data.Where(f => f.ID == filterId.Value); } var source = EventTypeOperations.GetRows(data); System.Linq.Expressions.Expression <Func <EventTypesRowViewModel, bool> > prefilter = null; return(new Models.DataTables.DataTablesActionResult <EventTypesRowViewModel>(source, input, prefilter)); }