Esempio n. 1
0
 public SecurityController(
     SecurityService securityService,
     UserService userService)
 {
     _securityService = securityService;
     _userService = userService;
 }
Esempio n. 2
0
 public void Initialize()
 {
     var unitOfWork = TestHelpers.MockUnitOfWork();
     var userRepository = TestHelpers.MockRepository<User>(_users);
     _securityService = new SecurityService(userRepository.Object, unitOfWork.Object);
 }