public static List <string> GetSupplierCodes() { List <SupplierVM> suppList = SupplierBL.GetAllSupp(); List <string> suppCodeList = new List <string>(); foreach (SupplierVM s in suppList) { suppCodeList.Add(s.SuppCode); } return(suppCodeList); }
public static List <SupplierVM> GetAllSupp() { return(SupplierBL.GetAllSupp()); }