Пример #1
0
        public ActionResult Editar(string id)
        {
            var editora = appEditora.ListaPorId(id);

            if (editora == null)
            {
                return(HttpNotFound());
            }

            return(View(editora));
        }
Пример #2
0
        public ActionResult Excluir(int id)
        {
            var appEditora = new AlunoAplicacao();
            var editora    = appEditora.ListaPorId(id);

            if (editora == null)
            {
                return(HttpNotFound());
            }

            return(View(editora));
        }