Пример #1
0
        public ActionResult ProspectsReturned(string Lowerdate, string Upperdate, string radioValue, string lowerdatecover, string upperdatecover)

        {
            ThamesbankEntities10 _context = new ThamesbankEntities10();

            var report = radioValue;


            DateTime lowerdate = Convert.ToDateTime(Lowerdate);
            DateTime upperdate = Convert.ToDateTime(Upperdate);


            if (report == "QuoteAndCover")
            {
                DateTime?lowerDateCover = Convert.ToDateTime(lowerdatecover);
                DateTime?upperDateCover = Convert.ToDateTime(upperdatecover);

                IEnumerable quoteReport = _context.ListHICallOuts_v3TESTS(report, lowerdate, upperdate, lowerDateCover, upperDateCover);
                return(PartialView(quoteReport));
            }

            else
            {
                DateTime?lowerDateCover = null;
                DateTime?upperDateCover = null;

                IEnumerable quoteReport = _context.ListHICallOuts_v3TESTS(report, lowerdate, upperdate, lowerDateCover, upperDateCover);
                return(PartialView(quoteReport));
            }
        }
Пример #2
0
        public ActionResult LapsesReturned(string Lowerdate, string Upperdate)
        {
            ThamesbankEntities10 _context = new ThamesbankEntities10();

            DateTime lowerdate = Convert.ToDateTime(Lowerdate);
            DateTime upperdate = Convert.ToDateTime(Upperdate);

            IEnumerable dateRange = _context.DateRangeLapseTEST(lowerdate, upperdate);

            return(View(dateRange));
        }
Пример #3
0
        public ActionResult Test()
        {
            DateTime lowerdate = new DateTime(2018, 5, 1);
            DateTime upperdate = new DateTime(2018, 5, 4);


            DateTime?lowerDateCover = null;
            DateTime?upperDateCover = null;

            ThamesbankEntities10 _context = new ThamesbankEntities10();
            var report = "Quote";

            IEnumerable quoteReport = _context.ListHICallOuts_v3TESTS(report, lowerdate, upperdate, lowerDateCover, upperDateCover);

            return(View(quoteReport));
        }