private void GenerateReport(IDictionary <string, string> parameters = null, Expression <Func <TReportDTO, bool> > predicate = null) { ReportData = DtoService.GetDTO(parameters); if (predicate != null) { ReportData = ReportData.Where(predicate); } ProcessData(); }