public ActionResult OrderReport()
        {
            var dailyOrders        = serviceManager.GetDailyOrders();
            var WeeklyOrders       = serviceManager.GetWeeklyOrders();
            DailyWeeklyOrder model = new DailyWeeklyOrder {
                daily = dailyOrders, weekly = WeeklyOrders
            };

            return(View(model));
        }
        public ActionResult OrderReportForStaff()
        {
            string staffID = this.Request.Params["sId"];

            if (staffID != null)
            {
                int sId                = Int16.Parse(staffID);
                var dailyOrders        = serviceManager.GetDailyOrdersForAStaff(sId);
                var WeeklyOrders       = serviceManager.GetWeeklyOrdersForAStaff(sId);
                DailyWeeklyOrder model = new DailyWeeklyOrder {
                    daily = dailyOrders, weekly = WeeklyOrders
                };
                string msg = this.Request.Params["msg"];
                ViewBag.Message = "Staff: " + msg;
                return(View("OrderReport", model));
            }
            else
            {
                return(RedirectToAction("OrderReport"));
            }
        }