private void DeletePaymentCondition() { if (SelectedPaymentCondition.PaymentConditionId != 0) { PaymentConditions.Delete(SelectedPaymentCondition.PaymentConditionId); } PaymentConditionList.Remove(SelectedPaymentCondition); }
private void CreateNewPaymentCondition() { SelectedPaymentCondition = new PaymentCondition(); PaymentConditionList.Add(SelectedPaymentCondition); }