예제 #1
0
        public ContentResult GetReport(int reportId, ReportDate reportDate, string customer, bool?nonCash)
        {
            var dates = ReporDateRanges.GetDates(reportDate);

            dates.From = DateTime.SpecifyKind(dates.From, DateTimeKind.Utc);
            dates.To   = DateTime.SpecifyKind(dates.To, DateTimeKind.Utc);
            return(GetReportDates(reportId, dates.From, dates.To, customer, nonCash));
        }         // GetReport
예제 #2
0
        }         // DownloadReportDates

        public FileResult DownloadReport(int reportId, ReportDate reportDate, string customer, bool?nonCash)
        {
            var dates = ReporDateRanges.GetDates(reportDate);

            return(DownloadReportDates(reportId, dates.From, dates.To, customer, nonCash));
        }         // DownloadReport