public ActionResult EditTable(int?id)
        {
            // To find which table you are going to edit
            Tables table = Table.GetTable(id);

            if (table != null)
            {
                return(View(table));
            }
            return(RedirectToAction("Tables"));
        }
        // GET: Cashier/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            //Table table = db.Table.Find(id);
            Table table = cashierRepo.GetTable(id);

            if (table == null)
            {
                return(HttpNotFound());
            }
            return(View(table));
        }