public List <ClienteDTO> Listar() { ClienteDatabase db = new ClienteDatabase(); return(db.Listar()); }
public void Remover(int ID) { ClienteDatabase db = new ClienteDatabase(); db.Remover(ID); }
public List <ClienteDTO> Consultar(string nome) { ClienteDatabase db = new ClienteDatabase(); return(db.Consultar(nome)); }
public void Alterar(ClienteDTO dto) { ClienteDatabase db = new ClienteDatabase(); db.Alterar(dto); }
public int Salvar(ClienteDTO dto) { ClienteDatabase db = new ClienteDatabase(); return(db.Salvar(dto)); }