public List<Telefones> PesquisarBL() { /*criar as regras de negocio*/ TelefonesDA telefonesDA = new TelefonesDA(); return telefonesDA.PesquisarDA(); }
public bool InserirBL(Telefones tel) { /*criar as regras de negocio*/ TelefonesDA telefonesDA = new TelefonesDA(); return telefonesDA.InserirDA(tel); }
public bool ExcluirBL(int id_pes) { /*criar as regras de negocio*/ TelefonesDA telefonesDA = new TelefonesDA(); return telefonesDA.ExcluirDA(id_pes); }
public bool EditarBL(Telefones tel) { /*criar as regras de negocio*/ TelefonesDA telefonesDA = new TelefonesDA(); return telefonesDA.EditarDA(tel); }
public int RetornarMaxCodigoBL() { TelefonesDA telDA = new TelefonesDA(); return telDA.RetornarMaxCodigoDA(); }
public List<Telefones> PesquisarBL(int id_pes) { TelefonesDA telefonesDA = new TelefonesDA(); return telefonesDA.PesquisarDA(id_pes); }