コード例 #1
0
        //public List<CatagoryType> GetCustomerType()
        //{
        //    ICustomersDAL customerDAL = new CustomersDAL();
        //    List<CatagoryType> result = customerDAL.GetCustomerType();

        //    return result;
        //}

        //public List<CatagoryType> GetCategoryType(string filter)
        //{
        //    ICustomersDAL customerDAL = new CustomersDAL();
        //    List<CatagoryType> result = customerDAL.GetCategoryType(filter);

        //    return result;
        //}

        //public IEnumerable<ShippingAddress> GetShippingAddress(int customerId)
        //{
        //    ICustomersDAL customerDAL = new CustomersDAL();
        //    return customerDAL.GetShippingAddress(customerId);
        //}
        public bool CreateSupplier(SupplierDetailEntity entity)
        {
            ISupplierDAL supplierDAL = new SupplierDAL();

            return(supplierDAL.CreateSupplier(entity));
        }