Exemplo n.º 1
0
 /// <summary>
 /// Initialize Account Controller services.
 /// </summary>
 /// <param name="accountRepository"><see cref="AccountRepository"/> reference via dependency injection.</param>
 /// <param name="repositoryFactory"><see cref="RepositoryFactory"/> reference via dependency injection.</param>
 /// <param name="accountsHandler"><see cref="AccountsHandler"/> reference via dependency injection.</param>
 public AccountController(AccountRepository accountRepository,
                          RepositoryFactory repositoryFactory,
                          AccountsHandler accountsHandler)
 {
     _accountRepository = accountRepository;
     _repositoryFactory = repositoryFactory;
     _accountsHandler   = accountsHandler;
 }