public AccountsController(IAccountsAppService accountsAppService) { _accountsAppService = accountsAppService ?? throw new ArgumentNullException(nameof(accountsAppService)); }
public AccountsAppServiceTests() { _accountsAppService = GetRequiredService <IAccountsAppService>(); }
public AccountController(IAccountsAppService accountsAppService) { _accountsAppService = accountsAppService; }