Ejemplo n.º 1
0
        public ActionResult UpdateClientView()
        {
            string nowServing = SessionHelper.Get("NowServing");

            if (nowServing.Equals("0"))
            {
                ViewBag.Warning = "Please select a client from the Clients Table before selecting Update Client View.";
                return(View("Warning"));
            }

            DailyHub.RefreshClient(Convert.ToInt32(nowServing));

            return(View("Clients"));
        }
Ejemplo n.º 2
0
        public ActionResult ClearClientView()
        {
            DailyHub.RefreshClient(0);

            return(View("Clients"));
        }