public RatingService(IRepository <Rating> ratingRepository, IUserService userService,
                      ISubDirectoryService subDirectoryService, IUserRatingService userRatingService)
 {
     _ratingRepository    = ratingRepository;
     _subDirectoryService = subDirectoryService;
     _userRatingService   = userRatingService;
     _userService         = userService;
 }
예제 #2
0
 public OrganizationController(
     IOrganizationService OrganizationService,
     IUserRatingService userRatingService,
     IProductService productService) :
     base(OrganizationService)
 {
     _userRatingService = userRatingService;
     _productService    = productService;
 }
예제 #3
0
        public RecipesController(IRecipeService recipeService,
                                 ICuisineService cuisineService,
                                 IDificultyService difficultyService,
                                 IRecipeIngredientService recipeIngredientService,
                                 IRecipeCategoryService recipeCategoryService,
                                 IRecipeOccasionService recipeOccasionService,
                                 IRecipeStepService recipeStepService,
                                 IUserRatingService userRatingService,
                                 ICommentService commentService

                                 )
        {
            _recipeService           = recipeService;
            _cuisineService          = cuisineService;
            _difficultyService       = difficultyService;
            _recipeCategoryService   = recipeCategoryService;
            _recipeIngredientService = recipeIngredientService;
            _recipeOccasionService   = recipeOccasionService;

            _recipeStepService = recipeStepService;
            _userRatingService = userRatingService;
            _commentService    = commentService;
        }
예제 #4
0
 public UserRatingController(IUserRatingService UserRatingService) :
     base(UserRatingService)
 {
 }
예제 #5
0
 public UserProfileController(IUserProfileService userProfileService, IUserRatingService userRatingService)
 {
     this.userProfileService = userProfileService;
     this.userRatingService  = userRatingService;
 }