public static CustomerPriceMargins UpdateMarginAndGetHighestMargin(int id, int custClientId, int priceMarginId) { CustomerPriceMargins margin = new CustomerPriceMargins(); margin.UpdatePriceMarginAndLoadHighestMargin(id, custClientId, priceMarginId); return(margin); }
public static CustomerPriceMargins GetCustomerPriceMarginByCustClientID(int custClientID) { CustomerPriceMargins margin = new CustomerPriceMargins(); margin.LoadByCustClientID(custClientID); return(margin); }