public Fornecedores(string anome, string atelefones, string acidade, string aendereco, string aCPF, string aCNPJ, int aestado, string aEmail) { this.nome = anome; this.telefones = atelefones; this.cidade = acidade; this.endereco = aendereco; this.CPF = aCPF; this.CNPJ = aCNPJ; this.Email = aEmail; DAL.DALUF daluf = new DAL.DALUF(); uf = daluf.Select(aestado)[0]; }
public Cliente(int aidCliente, string anome, string atelefones, string acidade, string aendereco, string aCPF, string aCNPJ, int aestado, string aEmail) { this.idCliente = aidCliente; this.nome = anome; this.telefones = atelefones; this.cidade = acidade; this.endereco = aendereco; this.CPF = aCPF; this.CNPJ = aCNPJ; DAL.DALUF daluf = new DAL.DALUF(); uf = daluf.Select(aestado)[0]; this.Email = aEmail; }