public ActionResult PaymentInfo(String username)
        {
            CreditCardAccountUserViewModel creditCardAccountUserViewModel =
                new CreditCardAccountUserViewModel();

            creditCardAccountUserViewModel.user = new AccountUser {
                Username = username
            };
            creditCardAccountUserViewModel.loadSavedCards();
            return(View("~/Views/MyAccount/PaymentInfo.cshtml", creditCardAccountUserViewModel));
        }
        public ActionResult RemovePaymentInfo(String cardNumber, String username)
        {
            CreditCard selectedCard = CreditCard.Get(cardNumber, username);

            selectedCard.dePrefer();
            CreditCardAccountUserViewModel creditCardAccountUserViewModel = new CreditCardAccountUserViewModel();

            creditCardAccountUserViewModel.user = new AccountUser {
                Username = username
            };
            creditCardAccountUserViewModel.loadSavedCards();
            return(View("~/Views/MyAccount/PaymentInfo.cshtml", creditCardAccountUserViewModel));
        }
        public ActionResult EnterCardNumber(TicketOrderViewModel ticketOrderViewModel)
        {
            //TicketOrderViewModel ticketOrderViewModel = new TicketOrderViewModel();
            //ticketOrderViewModel.userName = userName;
            //ticketOrderViewModel.theaterID = theaterID;
            //ticketOrderViewModel.systemInfo.GetDiscounts();
            //ticketOrderViewModel.movieName = movieName;
            //ticketOrderViewModel.ticketOrder.AdultTickets = adultTickets;
            //ticketOrderViewModel.ticketOrder.ChildTickets = childTickets;
            //ticketOrderViewModel.ticketOrder.SeniorTickets = seniorTickets;

            CreditCardAccountUserViewModel creditCardAccountUserViewModel = new CreditCardAccountUserViewModel();

            creditCardAccountUserViewModel.user          = new AccountUser();
            creditCardAccountUserViewModel.user.Username = ticketOrderViewModel.userName;
            creditCardAccountUserViewModel.loadSavedCards();

            ticketOrderViewModel.creditCards = creditCardAccountUserViewModel.savedCards;
            return(View("~/Views/TicketOrder/EnterCardNumber.cshtml", ticketOrderViewModel));
        }