public ActionResult Delete(int id)
        {
            GuestBusinessLayer guestBusinessLayer = new GuestBusinessLayer();

            guestBusinessLayer.DeleteGuest(id);
            return(RedirectToAction("Index"));
        }
        public ActionResult ConfirmedDeleteGuest(int id)
        {
            GuestViewModel guestViewModel = new GuestViewModel();
            string         BtnSubmit      = Request.Form["BtnSubmit"];

            if (id != 0)
            {
                switch (BtnSubmit)
                {
                case "Yes":
                    GuestBusinessLayer guestBusinessLayer = new GuestBusinessLayer();
                    guestBusinessLayer.DeleteGuest(id);
                    break;

                case "Cancel":
                    return(RedirectToAction("ManageGuests"));
                }
            }
            return(RedirectToAction("ManageGuests"));
        }