Exemplo n.º 1
0
        public async Task <IQueryable <SKReport> > get(DateTime start, DateTime end)
        {
            var dtr = new DateTimeRange {
                start = start, end = end
            };
            var report = (await AdslReportsController.getCagriSKReport(dtr));

            return(report.AsQueryable());
        }
Exemplo n.º 2
0
        public async Task <IQueryable <SKReport> > get()
        {
            var d   = DateTime.Now;
            var dtr = new DateTimeRange {
                start = (d - d.TimeOfDay).AddDays(1 - d.Day), end = (d.AddDays(1 - d.Day).AddMonths(1).AddDays(-1)).Date.AddDays(1)
            };
            var report = (await AdslReportsController.getCagriSKReport(dtr));

            return(report.AsQueryable());
        }