Esempio n. 1
0
        public static DiscountProperties getVendorDiscountInfo(string vendorId)
        {
            DiscountProperties discountInfo = new DiscountProperties();

            return(discountInfo = DiscountDBProcessHandler.getDiscountOfCustomer(vendorId));
        }
        public int  getCustomerDiscountRate()
        {
            DiscountProperties discount = DiscountDBProcessHandler.getDiscountOfCustomer("DIS1");

            return(Convert.ToInt16(discount.Discount_Rate));
        }