public void InitializeRepositories()
        {
            var jokeRepository = new JokeRepository();
            var userRepository = new UserRepository();

            _container.RegisterInstanceAs(jokeRepository);
            _container.RegisterInstanceAs(userRepository);
        }
Beispiel #2
0
 public UserSteps(UserContext user, UserRepository userRepository)
 {
     _user = user;
     _userRepository = userRepository;
 }