public DeclinePaymentViewModel(Core.Domain.Accounting.Payment payment, DeclinePaymentCommand declinePaymentCommand) { Require.NotNull(payment, "payment"); Require.NotNull(declinePaymentCommand, "declinePaymentCommand"); Payment = payment; DeclinePaymentCommand = declinePaymentCommand; }
public DeclinePaymentViewModel(Core.Domain.Accounting.Payment payment) : this(payment, new DeclinePaymentCommand()) { }