Beispiel #1
0
        public IActionResult Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var accountHolder = _accountHolderService.GetDetails(id.Value);

            if (accountHolder == null)
            {
                return(NotFound());
            }
            return(View(accountHolder));
        }
Beispiel #2
0
 public IActionResult Details(int?id)
 {
     return(View(_accountHolderService.GetDetails(id.Value)));
 }