public AccountsController(ICreateAccountUseCase createAccountUseCase) { _createAccountUseCase = createAccountUseCase; _presenter = new Presenter(); }
public AccountController(IGetAccountsUseCase getAccountsUseCase, IArchiveAccountUseCase archiveAccountUseCase, ICreateAccountUseCase createAccountUseCase) { this.getAccountsUseCase = getAccountsUseCase; this.archiveAccountUseCase = archiveAccountUseCase; this.createAccountUseCase = createAccountUseCase; }