public RatingService(IRepository <Rating> ratingRepository, IUserService userService,
                      ISubDirectoryService subDirectoryService, IUserRatingService userRatingService)
 {
     _ratingRepository    = ratingRepository;
     _subDirectoryService = subDirectoryService;
     _userRatingService   = userRatingService;
     _userService         = userService;
 }
 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;
 }