Got query working in ReportService.cs