public static List <SpScheda> TrovaSchedePerAreaProduzione(string AreaProduzione, string Task, string Anagrafica, bool soloAttive) { SchedeProcessoDS ds = new SchedeProcessoDS(); using (SchedeProcessoBusiness bScheda = new SchedeProcessoBusiness()) { bScheda.TrovaScheda(AreaProduzione, Task, Anagrafica, true, ds, soloAttive); } return(creaListaSchede(ds)); }
public static List <SpScheda> TrovaSchede(string Codice, string Descrizione, string Anagrafica, bool soloAttive) { SchedeProcessoDS ds = new SchedeProcessoDS(); using (SchedeProcessoBusiness bScheda = new SchedeProcessoBusiness()) { bScheda.TrovaScheda(Codice, Descrizione, Anagrafica, ds, true, soloAttive); } return(creaListaSchede(ds)); }