Ejemplo n.º 1
0
        // get list of All valid suppliers
        public List <Supplier> GetAllSuppliersBL()
        {
            List <Supplier> supplierList = null;

            try
            {
                SupplierDAL supplierDAL = new SupplierDAL();
                supplierList = supplierDAL.GetAllSuppliersDAL();
            }
            catch (Exception ex)
            {
                throw new InventoryException(ex.Message);
            }

            return(supplierList);
        }
Ejemplo n.º 2
0
        public static List <Supplier> GetAllSuppliersBL()
        {
            List <Supplier> guestList = null;

            try
            {
                SupplierDAL supplierDAL = new SupplierDAL();
                supplierList = supplierDAL.GetAllSuppliersDAL();
            }
            catch (Inventory ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(supplierList);
        }