public LoginService(IAdventureAccountsProvider accountsProvider, IMvcContext context)
 {
     Throw.IfNull(accountsProvider, nameof(accountsProvider));
     Throw.IfNull(context, nameof(context));
     _accountsProvider = accountsProvider;
     _context          = context;
 }
        public RegistrationService(
            IAdventureAccountsProvider accountsProvider,
            ILog logger)
        {
            Throw.IfNull(accountsProvider, nameof(accountsProvider));
            Throw.IfNull(logger, nameof(logger));

            _accountsProvider = accountsProvider;
            _logger           = logger;
        }