Пример #1
0
 public string pesquisarFabricante(string fabricante)
 {
     Fabricante fab = new Fabricante();
     DtoFabricante[] fabs = fab.procurarFabricante(fabricante);
     string retorno = "";
     foreach (DtoFabricante f in fabs)
         retorno += "id: " + f.id + " - nome: " + f.fabricante + "\n";
     return retorno;
 }