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