public bool Update(Secretaria entity) { SecretariaDAC personaDAC = new SecretariaDAC(); personaDAC.Update(entity); return(true); }
public List <Secretaria> Read() { SecretariaDAC personaDAC = new SecretariaDAC(); return(personaDAC.Read()); }
public Secretaria ReadBy(string id) { SecretariaDAC personaDAC = new SecretariaDAC(); Secretaria result = new Secretaria(); Secretaria persona = new Secretaria(); persona = personaDAC.ReadBy(id); return(persona); }
public Secretaria Create(Secretaria entity) { if (Verificar(entity)) { SecretariaDAC idiomaDAC = new SecretariaDAC(); Secretaria persona = new Secretaria(); persona = idiomaDAC.Create(entity); return(persona); } else { return(null); } }
public Secretaria ReadByEmail(string email) { SecretariaDAC personaDAC = new SecretariaDAC(); return(personaDAC.ReadByEmail(email)); }
public void Delete(int id) { SecretariaDAC idiomaDAC = new SecretariaDAC(); idiomaDAC.Delete(id); }