예제 #1
0
        // GET: Cliente/Delete/5
        public ActionResult Delete(int id)
        {
            var db      = new ClienteDb();
            var cliente = db.ObterPorId(id);

            return(View(cliente));
        }
예제 #2
0
        // GET: Cliente/Edit/5
        public ActionResult Edit(int Id)
        {
            var db      = new ClienteDb();
            var cliente = db.ObterPorId(Id);

            return(View(cliente));
        }