예제 #1
0
        public List<Turmas> PesquisarBL()
        {
            /*criar as regras de negocio*/
            TurmasDA turmasDA = new TurmasDA();

            return turmasDA.PesquisarDA();
        }
예제 #2
0
        public Int32 InserirBL(Turmas tur)
        {
            if (IsValid(tur))
            {
                TurmasDA turmasDA = new TurmasDA();

                return turmasDA.InserirDA(tur);
            }
            else
                return 0;
        }
예제 #3
0
        public bool ExcluirBL(Turmas tur)
        {
            if (tur.Id > 0)
            {
                TurmasDA turmasDA = new TurmasDA();

                return turmasDA.ExcluirDA(tur);
            }
            else
                return false;
        }
예제 #4
0
        public bool EditarBL(Turmas tur)
        {
            if (tur.Id > 0 && IsValid(tur))
            {
                TurmasDA turmasDA = new TurmasDA();

                return turmasDA.EditarDA(tur);
            }
            else
                return false;
        }
예제 #5
0
        public DataSet PesquisarDataset(string codEvento,string codTurma, string dataIni, string dataIniF, string dataFim, string dataFimF,Boolean tumasAberto)
        {
            TurmasDA turmaDA = new TurmasDA();

            return turmaDA.PesquisarDataSet(codEvento,codTurma, dataIni, dataIniF, dataFim, dataFimF,tumasAberto);
        }
예제 #6
0
        public List<Turmas> PesquisarBuscaBL(string valor)
        {
            TurmasDA eveDA = new TurmasDA();

            return eveDA.PesquisarBuscaDA(valor);
        }
예제 #7
0
        public List<Turmas> PesquisarBL(string campo, string valor)
        {
            TurmasDA turmasDA = new TurmasDA();

            return turmasDA.PesquisarDA(campo, valor);
        }
예제 #8
0
        public List<Turmas> PesquisarBL(int id_tur, int id_eve)
        {
            TurmasDA turmasDA = new TurmasDA();

            return turmasDA.PesquisarDA(id_tur, id_eve);
        }
예제 #9
0
        public DataSet PesquisarBL(int tur)
        {
            TurmasDA turmasDA = new TurmasDA();

            return turmasDA.PesquisarDA(tur);
        }
예제 #10
0
        public override List<Base> Pesquisar(string codDes)
        {
            TurmasDA turDA = new TurmasDA();

            return turDA.Pesquisar(codDes);
        }
예제 #11
0
        public List<Turmas> PesquisarEveBL(int id_eve)
        {
            TurmasDA turmasDA = new TurmasDA();

            return turmasDA.PesquisarEveDA(id_eve);
        }
예제 #12
0
        public DataSet PesquisarDiarioDataset(string codEvento, string codTurma, string dataIni, string dataFim)
        {
            TurmasDA turmaDA = new TurmasDA();

            return turmaDA.PesquisarDiarioDataSet(codEvento, codTurma, dataIni, dataFim);
        }