public SecurityController()
 {
     _userRepository = RepositoryFactory.GetUserRepository();
     var propertyRepository = RepositoryFactory.GetPropertyRepository();
     _userApp = new UserApp(_userRepository, propertyRepository);
 }
Exemple #2
0
 public void SetUpFixtrure()
 {
     _userRepository = new Mock<IUserRepository>();
     _propertyRepository = new Mock<IPropertyRepository>();
     _userApp = new UserApp(_userRepository.Object, _propertyRepository.Object);
 }