Example #1
0
        public ActionResult Edit(gesc_professor gesc_professor)
        {
            if (ModelState.IsValid)
            {
                appUsuario.Salvar(gesc_professor);
                ExibeMensagem('S', 2);
                return(RedirectToAction("Index"));
            }

            return(View(gesc_professor));
        }
 public void Excluir(gesc_professor professor)
 {
     repositorio.Excluir(professor);
 }
 public void Salvar(gesc_professor professor)
 {
     repositorio.Salvar(professor);
 }