Ejemplo n.º 1
0
        public UserServicesMethods()
        {
            var testContext = TestContextUtils.CreateInMemoryDbContext();

            userRepo = new AppUserRepository(testContext);
            var tokenService = new JWTTokenService("jfghbk@on345_38*b6b@ac8asdffafg5774a&%67454378*&092mdf", 5);

            userService = new UserService(userRepo, tokenService);
        }
Ejemplo n.º 2
0
 public ConnectionMapperMethods()
 {
     _connectionMapper = TestContextUtils.ConnectionMapperContext();
 }