Exemplo n.º 1
0
        // GET: Transaction/Edit/5
        public async Task <IActionResult> Edit(int?id)
        {
            _transactionBL.Edit();

            if (id == null)
            {
                return(NotFound());
            }

            var transactionTable = await _context.Transactions.FindAsync(id);

            if (transactionTable == null)
            {
                return(NotFound());
            }

            return(View(transactionTable));
        }