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