예제 #1
0
        /// <summary>
        /// Compiles the RFQ count by category report by delegating this request to the web service.
        /// </summary>
        private void CompileRequestCountByCategoryReport()
        {
            if (FromDateType == RequestCountFromDateEnum.TODAY_ONLY)
            {
                FromDate = DateTime.Parse(DateTime.Now.ToShortDateString());
            }
            else if (FromDateType == RequestCountFromDateEnum.ALL)
            {
                FromDate = new DateTime(2013, 1, 1);
            }

            reportingManager.CompileRequestCountByCategoryReport(ReportType, RequestsCountCategory,
                                                                 FromDate.GetValueOrDefault(new DateTime(2013, 1, 1)), MinimumCount);
        }