public IEnumerable <OverViewDataRow> Data(CC.Data.ccEntities db, CC.Data.Services.IPermissionsBase permissions)
        {
            var data = db.spFinancialSummaryDetails(this.CurId, this.StartDate, this.EndDate
                                                    , !this.IncludeNotSubmittedReports
                                                    , !this.HideEstimatedAmounts
                                                    , this.AgencyId
                                                    , this.RegionId
                                                    , this.CountryId
                                                    , this.StateId
                                                    , this.ServiceTypeId
                                                    , this.ServiceId
                                                    , this.MasterFundId
                                                    , this.FundId
                                                    , this.AppId
                                                    , this.ClientId
                                                    , this.sSearch
                                                    , this.sSortCol_0
                                                    , this.sSortDir_0 == "asc"
                                                    , this.iDisplayLength == int.MaxValue ? int.MaxValue : this.iDisplayLength + 1
                                                    , this.iDisplayStart
                                                    , permissions.User.Id);

            return(data.Select(f => new OverViewDataRow
            {
                SubReportId = f.SubReportId,
                FirstName = f.FirstName,
                LastName = f.LastName,
                ClientId = f.ClientId,
                AgencyId = f.AgencyId,
                ServiceTypeName = f.ServiceTypeName,
                ServiceName = f.ServiceName,
                ReportStart = f.ReportStart,
                ReportEnd = f.ReportEnd,
                FundName = f.FundName,
                AppName = f.AppName,
                Quantity = f.Quantity,
                Amount = f.Amount,
                Cur = this.CurId,
                IsEstimated = f.IsEstimated ?? false,
                SubReportId1 = f.SubReportId
            }).ToList());
        }