public IActionResult LoadDailyNeedsData() { ProductDetailsData pd = new ProductDetailsData(); pd.loadDailyNeedsData(); ViewBag.Message = "Daily Needs Loaded"; return(View("Done")); }
// for development only. Reconcile Datascape public IActionResult DailyDashboard() { ProductDetailsData pd = new ProductDetailsData(); pd.loadDailyDashboard(true); ViewBag.Message = "Daily Dashboard Loaded"; return(View("Done")); }
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")); }