Ejemplo n.º 1
0
        public ActionResult WorkPage(int creditId)
        {
            var credit = CreditService.Get(creditId);

            return(View(new AtmAccountModel()
            {
                CreditId = credit.Id, Amount = credit.MainAccount.Balance
            }));
        }
Ejemplo n.º 2
0
        public ActionResult Details(int creditId)
        {
            var credit = CreditService.Get(creditId);

            return(View(credit.ToCredit(SystemInformationService)));
        }
Ejemplo n.º 3
0
 public ActionResult <List <Credit> > Get() =>
 _creditService.Get();