Exemple #1
0
 public void Insert(MODEL.Alunos alunos)
 {
     DAL.Alunos dalAlunos = new DAL.Alunos();
     // if (alunos.Nome != String.Empty)
     // MessageBox.Show("Informe um nome para cadastrar um Aluno");
     dalAlunos.Insert(alunos);
 }
 public void Delete(MODEL.Alunos alunos)
 {
     DAL.Alunos dalAlu = new DAL.Alunos();
     dalAlu.Delete(alunos);
 }
 public void Update(MODEL.Alunos alunos)
 {
     DAL.Alunos dalAlu = new DAL.Alunos();
     dalAlu.Update(alunos);
 }
 public void Insert(MODEL.Alunos alunos)
 {
     DAL.Alunos dalAlu = new DAL.Alunos();
     dalAlu.Insert(alunos);
 }
        public List <MODEL.Alunos> SelectByNome(string nome)
        {
            DAL.Alunos dalAlu = new DAL.Alunos();

            return(dalAlu.SelectByNome(nome));
        }
        public List <MODEL.Alunos> SelectById(int id)
        {
            DAL.Alunos dalAlu = new DAL.Alunos();

            return(dalAlu.SelectById(id));
        }
        public List <MODEL.Alunos> Select()
        {
            DAL.Alunos dalAlu = new DAL.Alunos();

            return(dalAlu.Select());
        }
Exemple #8
0
 public void Delete(int idAlunos)
 {
     DAL.Alunos dalAlunos = new DAL.Alunos();
     dalAlunos.Delete(idAlunos);
 }