public void Insert(Model.Aluno oAluno) { if (oAluno.Nome == "") { throw new Exception("Campo Obrigatório!"); } dalAl.Insert(oAluno); }
public void Insert(MODEL.Aluno Aluno) { DAL.Aluno dalAluno = new DAL.Aluno(); dalAluno.Insert(Aluno); }