Ejemplo n.º 1
0
        public static CustomerPriceMargins UpdateMarginAndGetHighestMargin(int id, int custClientId, int priceMarginId)
        {
            CustomerPriceMargins margin = new CustomerPriceMargins();

            margin.UpdatePriceMarginAndLoadHighestMargin(id, custClientId, priceMarginId);
            return(margin);
        }
Ejemplo n.º 2
0
        public static CustomerPriceMargins GetCustomerPriceMarginByCustClientID(int custClientID)
        {
            CustomerPriceMargins margin = new CustomerPriceMargins();

            margin.LoadByCustClientID(custClientID);
            return(margin);
        }