public AccountsController(LoginPresenter loginPresenter, RegisterPresenter registerPresenter, GetUserPresenter getUserPresenter, IAccountsHandler accountsHandler) { _loginPresenter = loginPresenter; _registerPresenter = registerPresenter; _getUserPresenter = getUserPresenter; _accountsHandler = accountsHandler; }
public GenericWebhookDispatch(ArcConfig config, IAccountsHandler accountsHandler, IArcLog arcLog) { if (config.WebhookEnabled) { configured = true; restClient = new RestClient(config.WebhookUrl); } this.accountsHandler = accountsHandler; this.arcLog = arcLog; }