Пример #1
0
        public List <ExposurePerMedalData> CreateReportExposureDataByMedal(DateFilter df)
        {
            var rep    = ObjectFactory.GetInstance <IExposurePerMedalReportRepository>();
            var medals = rep.GetData(df.FormatFromDate(), df.FormatToDate()).Select(x => new ExposurePerMedalData(x));

            return(medals.ToList());
        }
Пример #2
0
        public List <MedalStatisticData> CreateMedalStatisticReport(DateFilter df)
        {
            var rep    = ObjectFactory.GetInstance <IMedalStatisticReportRepository>();
            var medals = rep.GetData(df.FormatFromDate(), df.FormatToDate()).Select(x => new MedalStatisticData(x));

            return(medals.ToList());
        }
Пример #3
0
        public List <PerformencePerUnderwriterData> CreateReportPerformenceData(DateFilter df)
        {
            var rep          = ObjectFactory.GetInstance <IPerformencePerUnderwriterReportRepository>();
            var underwriters = rep.GetData(df.FormatFromDate(), df.FormatToDate()).Select(x => new PerformencePerUnderwriterData(x));

            return(underwriters.ToList());
        }