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)); }