コード例 #1
0
        //public IEnumerable<CatagoryType> GetCustomerType()
        //{
        //    ICustomersBL _customerBL = new CustomersBL();

        //    var ctype = _customerBL.GetCustomerType();

        //    return ctype;
        //}

        //public IEnumerable<CatagoryType> GetCatagoryType(string cat_type)
        //{
        //    ICustomersBL _customerBL = new CustomersBL();

        //    var ctype = _customerBL.GetCategoryType(cat_type);

        //    return ctype;
        //}

        //public IEnumerable<ShippingAddress> GetShippingAddress(int customerId)
        //{
        //    ICustomersBL _customerBL = new CustomersBL();

        //    return _customerBL.GetShippingAddress(customerId);
        //}
        public bool CreateSupplier(SupplierDetailEntity entity)
        {
            ISupplierBL _supplierBL = new SupplierBL();

            return(_supplierBL.CreateSupplier(entity));
        }