public AddLedgerReconciliationController(
[NotNull] UiContext uiContext,
[NotNull] IAccountTypeRepository accountTypeRepository)
{
this.accountTypeRepository = accountTypeRepository;
if (uiContext == null)
{
throw new ArgumentNullException(nameof(uiContext));
}
if (accountTypeRepository == null)
{
throw new ArgumentNullException(nameof(accountTypeRepository));
}
MessengerInstance = uiContext.Messenger;
MessengerInstance.Register<ShellDialogResponseMessage>(this, OnShellDialogResponseReceived);
this.messageBox = uiContext.UserPrompts.MessageBox;
}