public Boolean DeleteVendor(ShippingVendor shippingVendor)
 {
     if (shippingVendor == null)
     {
         throw new ArgumentException("The shipping vendor was null, therefore it could not be deleted.");
     }
     return(ShippingVendorDAL.DeleteVendor(shippingVendor, _connection));
 }
 public Boolean DeactivateVendor(ShippingVendor shippingVendor)
 {
     if (shippingVendor == null)
     {
         throw new ArgumentException("The shipping vendor was null, therefore it cannot be set to inactive.");
     }
     return(ShippingVendorDAL.DeactivateVendor(shippingVendor, _connection));
 }
        }//End of GetVendors(.)

        public List <ShippingVendor> GetShippingVendorsByActive(Boolean activeState)
        {
            ShippingVendors = ShippingVendorDAL.GetVendorsByActive(activeState, _connection);
            return(ShippingVendors);
        }
        }//End of GetVendorById(.)

        public List <ShippingVendor> GetVendors()
        {
            //Need to do error checking... Try/Catch.
            ShippingVendors = ShippingVendorDAL.GetAllShippingVendors(_connection);
            return(ShippingVendors);
        }//End of GetVendors(.)
        }//End of Update(..)

        public ShippingVendor GetVendorById(int vendorId)
        {
            //Need to do error checking... Try/Catch.
            ShippingVendor = ShippingVendorDAL.GetShippingVendorById(vendorId, _connection);
            return(ShippingVendor);
        }//End of GetVendorById(.)
        }//End of Insert(.)

        public bool Update(ShippingVendor vendor, ShippingVendor originalVendor)
        {
            //Need to do error checking... Try/Catch.
            return(ShippingVendorDAL.UpdateShippingVendor(vendor, originalVendor, _connection));
        }//End of Update(..)
        }//End of ShippingVendor sets/gets.

        public bool Insert(ShippingVendor vendor)
        {
            //Need to do error checking... Try/Catch.
            return(ShippingVendorDAL.AddShippingVendor(vendor, _connection));
        }//End of Insert(.)