public ActionResult Detail(int cardId) { var customerId = UserSession.Info.Id; ViewBag.Accounts = _accountService.GetAllAccounts(customerId); HGSCard card = _externalService.GetHGSCardById(cardId, customerId); return(View(card)); }