Example #1
0
        public IActionResult LoadDailyNeedsData()
        {
            ProductDetailsData pd = new ProductDetailsData();

            pd.loadDailyNeedsData();
            ViewBag.Message = "Daily Needs Loaded";
            return(View("Done"));
        }
Example #2
0
        // for development only.  Reconcile Datascape
        public IActionResult DailyDashboard()
        {
            ProductDetailsData pd = new ProductDetailsData();

            pd.loadDailyDashboard(true);
            ViewBag.Message = "Daily Dashboard Loaded";
            return(View("Done"));
        }
Example #3
0
        public IActionResult FileLoader()
        {
            SalesData salesData = new SalesData();
            int       numEmails = salesData.executeFileLoader();

            ViewBag.Message = "Processed " + numEmails + " emails";
            if (numEmails > 0)
            {
                ProductDetailsData pd = new ProductDetailsData();
                pd.loadDailyDashboard();
                ViewBag.Message += "; Loaded DailyDashboard";
            }

            return(View("Done"));
        }