public RestaurantOptionLogic(IRestaurantOptionRepository restaurantOptionRepository, IRestaurantLogic restaurantLogic, IVoteLogic voteLogic, IVetoLogic vetoLogic) { _restaurantOptionRepository = restaurantOptionRepository; _restaurantLogic = restaurantLogic; _voteLogic = voteLogic; _vetoLogic = vetoLogic; }
public void Dispose() { _voteLogic = null; _mockVoteRepository = null; _mockRestaurantRepository = null; _mockUserRepository = null; }
public VoteLogicFacts() { _mockVoteRepository = new Mock<IVoteRepository>(); _mockRestaurantRepository = new Mock<IRestaurantRepository>(); _mockUserRepository = new Mock<IUserRepository>(); _voteLogic = new VoteLogic(_mockVoteRepository.Object, _mockRestaurantRepository.Object, _mockUserRepository.Object); }
public RestaurantLogic(IRestaurantRepository restaurantRepository, IRestaurantRatingLogic restaurantRatingLogic, IVoteLogic voteLogic, IRestaurantOptionRepository restaurantOptionRepository) { _restaurantRepository = restaurantRepository; _restaurantRatingLogic = restaurantRatingLogic; _voteLogic = voteLogic; _restaurantOptionRepository = restaurantOptionRepository; }
public HomeController(IRestaurantLogic restaurantLogic, IVoteLogic voteLogic, IRestaurantOptionLogic restaurantOptionLogic, IUserLogic userLogic, IVetoLogic vetoLogic, IRestaurantRatingLogic restaurantRatingLogic) { _restaurantLogic = restaurantLogic; _voteLogic = voteLogic; _restaurantOptionLogic = restaurantOptionLogic; _userLogic = userLogic; _vetoLogic = vetoLogic; _restaurantRatingLogic = restaurantRatingLogic; }
public StatsController(IRestaurantLogic restaurantLogic, IVoteLogic voteLogic, IRestaurantOptionLogic restaurantOptionLogic) { _restaurantLogic = restaurantLogic; _voteLogic = voteLogic; _restaurantOptionLogic = restaurantOptionLogic; }