示例#1
0
 public RestaurantLogic(IRestaurantRepository restaurantRepository, IRestaurantRatingLogic restaurantRatingLogic, IVoteLogic voteLogic, IRestaurantOptionRepository restaurantOptionRepository)
 {
     _restaurantRepository = restaurantRepository;
     _restaurantRatingLogic = restaurantRatingLogic;
     _voteLogic = voteLogic;
     _restaurantOptionRepository = restaurantOptionRepository;
 }
示例#2
0
 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 RatingsController(IRestaurantRatingLogic restaurantRatingLogic)
 {
     _restaurantRatingLogic = restaurantRatingLogic;
 }