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; }
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; }
public UserRatingController(IUserRatingService UserRatingService) : base(UserRatingService) { }
public UserProfileController(IUserProfileService userProfileService, IUserRatingService userRatingService) { this.userProfileService = userProfileService; this.userRatingService = userRatingService; }