Beispiel #1
0
        public ActionResult Credits(Account acc)
        {
            TicketAuthenticator auth = new TicketAuthenticator();
            Account             a    = _accountRepository.GetAccountById(auth.Decrypt());

            _accountRepository.AddCredits(a, 10);
            a = _accountRepository.GetAccountById(auth.Decrypt());
            return(View(a));
        }