Ejemplo n.º 1
0
        // GET: Accounts/Edit/5
        public IActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var account = BankFactory.GetAccountDetails(id.Value);

            if (account == null)
            {
                return(NotFound());
            }
            return(View(account));
        }