Exemple #1
0
 public Dictionary<string, string> buscaTiposProjeto()
 {
     Dictionary<string, string> lista = new Dictionary<string, string>();
     ProjetoDA pda = new ProjetoDA();
     lista = pda.buscaTiposProjeto();
     return lista;
 }
Exemple #2
0
 public List<Projeto> buscaProjetos(string email)
 {
     List<Projeto> lista = new List<Projeto>();
     ProjetoDA pda = new ProjetoDA();
     lista = pda.buscaProjetos(email);
     return lista;
 }
Exemple #3
0
 public Projeto buscaProjeto(string titulo, int codigo)
 {
     Projeto p = new Projeto();
     ProjetoDA pda = new ProjetoDA();
     p = pda.buscaProjeto(titulo, codigo);
     return p;
 }
Exemple #4
0
        public List<Projeto> teste()
        {
            List<string> lista = new List<string>();
            ProjetoDA pda = new ProjetoDA();
            var bind = pda.buscaProjetos("");

            return bind;
        }
Exemple #5
0
 public bool excluiProjeto(int id)
 {
     ProjetoDA pda = new ProjetoDA();
     bool excluiu = pda.excluiProjeto(id);
     return excluiu;
 }
Exemple #6
0
 public bool editaProjeto(Projeto p)
 {
     ProjetoDA pda = new ProjetoDA();
     bool editou = pda.editaProjeto(p);
     return editou;
 }
Exemple #7
0
 public int contaProjetosEmpresa(int idEmpresa, string where)
 {
     ProjetoDA pda = new ProjetoDA();
     int qnt = pda.contaProjetosEmpresa(idEmpresa, where);
     return qnt;
 }
Exemple #8
0
 public bool cadastraProjeto(Projeto p)
 {
     ProjetoDA pda = new ProjetoDA();
     bool cadastrou = pda.cadastraProjeto(p);
     return cadastrou;
 }
Exemple #9
0
 public string buscaNomeTipoProjeto(int id)
 {
     ProjetoDA pda = new ProjetoDA();
     string item = pda.buscaNomeTipoProjeto(id);
     return item;
 }