public int UpdateCommissionPaymentRecord(DLModel.CommissionPayment modelCommissionPayment) { return(_commissionPaymentRepository.Update((DLModel.CommissionPayment) new DLModel.CommissionPayment().InjectFrom(modelCommissionPayment))); }
public int AddCommissionPaymentRecord(DLModel.CommissionPayment modelCommissionPayment) { return(_commissionPaymentRepository.Add((DLModel.CommissionPayment) new DLModel.CommissionPayment().InjectFrom(modelCommissionPayment)).CommissionPaymentID); }