Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            sales.Sales         = Sales.AllStats();
            gameList.Games      = Game.ReviewGames();
            gameList.AddButtons = true;


            var service = new CreditWebService.CreditWebService();

            bankAccount = service.GetBankAccount(3);
            TransactionHistory.DataSource = service.TransactionHistoryOf(bankAccount);
            TransactionHistory.DataBind();
            BalanceLabel.Text = "$" + bankAccount.Balance;

            List <CreditCardDto> cards = service.GetCardsForAccount(3).ToList();

            CreditCardRepeater.DataSource = cards;
            CreditCardRepeater.DataBind();
        }