public bool ExistPartList(string sDescription) { var chocorroles = new PartList(); var swap = chocorroles.getAll(); var qbo = (from s in swap where s.iNumber.Equals(sDescription) select s).Count(); return(qbo >= 1); }
public List <PartListCompositeType> getAllPartList() { var r = new PartList(); return(r.getAll()); }