public RecipesService( IDeletableEntityRepository <Recipe> recipesRepository, IDeletableEntityRepository <CookingMethod> cookingMethodRepository, IIngredientsService ingredientsService, ICloudinaryService cloudinaryService, IUsersService usersService, ICategoriesService categoriesService, ICuisinesService cuisinesService, ICookingMethodsService cookingMethodsService, IImagesService imagesService, ICommentsService commentsService, IRatingsService ratingsService) { this.recipesRepository = recipesRepository; this.cookingMethodsRepository = cookingMethodRepository; this.ingredientsService = ingredientsService; this.cloudinaryService = cloudinaryService; this.usersService = usersService; this.categoriesService = categoriesService; this.cuisinesService = cuisinesService; this.cookingMethodsService = cookingMethodsService; this.imagesService = imagesService; this.commentsService = commentsService; this.ratingsService = ratingsService; }
public VideosController(IVideoCatalogService videoCatalog, IUserManagementService userManagement, IStatisticsService stats, IRatingsService ratings, ISuggestVideos suggestions) { if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } if (userManagement == null) { throw new ArgumentNullException("userManagement"); } if (stats == null) { throw new ArgumentNullException("stats"); } if (ratings == null) { throw new ArgumentNullException("ratings"); } if (suggestions == null) { throw new ArgumentNullException("suggestions"); } _videoCatalog = videoCatalog; _userManagement = userManagement; _stats = stats; _ratings = ratings; _suggestions = suggestions; }
public RatingsApiController( IRatingsService ratingsService, UserManager <ApplicationUser> userManager) { this.ratingsService = ratingsService; this.userManager = userManager; }
public BookController(IBooksService booksService, IRatingsService ratingsService, IMapperAdapter mapper, IUserProvider userProvider) { if (booksService == null) { throw new ArgumentNullException("booksService"); } if (ratingsService == null) { throw new ArgumentNullException("ratingsService"); } if (mapper == null) { throw new ArgumentNullException("mapper"); } if (userProvider == null) { throw new ArgumentNullException("userProvider"); } this.booksService = booksService; this.ratingsService = ratingsService; this.mapper = mapper; this.userProvider = userProvider; }
public RatingsServiceTests() { this.InitializeMapper(); this.InitializeDatabaseAndRepositories(); this.InitializeFields(); this.ratingsService = new RatingsService(this.starRatingsRepository); }
public RatingsServiceTests() { this.ratings = new List <Rating>(); var ratingsRepository = new EfRepository <Rating>(this.DbContext); this.service = new RatingsService(ratingsRepository); this.InitializeRepositoriesData(); }
public ConspectsService(IConspectsRepository repository , IUsersService usersService , ICategoriesService categoriesService , IRatingsService ratingsService) { _repository = repository; _usersService = usersService; _categoriesService = categoriesService; _ratingsService = ratingsService; }
public HomeController( UserManager <ApplicationUser> userManager, IUserService userService, IRatingsService ratingsService, ICourseService courseService) { _userManager = userManager; _userService = userService; _ratingsService = ratingsService; _courseService = courseService; }
public IndexService( IDeletableEntityRepository <Game> gameRepository, IDeletableEntityRepository <Platform> platformRepository, IDeletableEntityRepository <Review> reviewRepository, IRatingsService ratingsService) { this.gameRepository = gameRepository; this.platformRepository = platformRepository; this.reviewRepository = reviewRepository; this.ratingsService = ratingsService; }
public ReviewsService( IDeletableEntityRepository <Review> reviewRepository, IDeletableEntityRepository <Game> gameRepository, IRepository <Rating> ratingRepository, IRatingsService ratingsService) { this.reviewRepository = reviewRepository; this.gameRepository = gameRepository; this.ratingRepository = ratingRepository; this.ratingsService = ratingsService; }
public HomeController( ICompaniesService companiesService, ICommentsService commentsService, IRatingsService ratingsService, ISubscribesService subscribesService) { this.companiesService = companiesService; this.commentsService = commentsService; this.ratingsService = ratingsService; this.subscribesService = subscribesService; }
public ProductsController( IProductsService productsService, IRatingsService ratingsService, IProductSizeService productSizeService, IMapper mapper) { this.productsService = productsService; this.ratingsService = ratingsService; this.productSizeService = productSizeService; this.mapper = mapper; }
public HomeController( ICompaniesService companiesService, ICommentsService commentsService, IRatingsService ratingsService, ISubscribesService subscribesService, ILogger <HomeController> logger) { this.companiesService = companiesService; this.commentsService = commentsService; this.ratingsService = ratingsService; this.subscribesService = subscribesService; this.logger = logger; }
public CompaniesController( UserManager <ApplicationUser> userManager, ICompaniesService companiesService, ICategoriesService categoriesService, Cloudinary cloudinary, IRatingsService ratingsService) { this.userManager = userManager; this.companiesService = companiesService; this.categoriesService = categoriesService; this.cloudinary = cloudinary; this.ratingsService = ratingsService; }
public AddSampleRatingsHandler(IGetSampleData sampleDataRetriever, IRatingsService ratingsService) { if (sampleDataRetriever == null) { throw new ArgumentNullException("sampleDataRetriever"); } if (ratingsService == null) { throw new ArgumentNullException("ratingsService"); } _sampleDataRetriever = sampleDataRetriever; _ratingsService = ratingsService; }
public VideosController(IVideoCatalogService videoCatalog, IUserManagementService userManagement, IStatisticsService stats, IRatingsService ratings, ISuggestVideos suggestions) { if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); if (userManagement == null) throw new ArgumentNullException("userManagement"); if (stats == null) throw new ArgumentNullException("stats"); if (ratings == null) throw new ArgumentNullException("ratings"); if (suggestions == null) throw new ArgumentNullException("suggestions"); _videoCatalog = videoCatalog; _userManagement = userManagement; _stats = stats; _ratings = ratings; _suggestions = suggestions; }
public ProductsController( IMapper mapper, IGoogleCloudStorage googleCloudStorage, ICategoriesService categoriesService, IProductsService productsService, IRatingsService ratingsService, IProductSizeService productSizeService) { this.mapper = mapper; this.googleCloudStorage = googleCloudStorage; this.categoriesService = categoriesService; this.productsService = productsService; this.ratingsService = ratingsService; this.productSizeService = productSizeService; }
public TripsController( ICitiesService citiesService, ICountriesService countryService, ICategoriesService categoriesService, ITransportService transportService, ITripsService tripsService, UserManager <ApplicationUser> userManager, IWebHostEnvironment environment, IRatingsService ratingsService) { this.citiesService = citiesService; this.categoriesService = categoriesService; this.tripsService = tripsService; this.userManager = userManager; this.environment = environment; }
public GamesService( IDeletableEntityRepository <Game> gameRepository, IDeletableEntityRepository <Platform> platformRepository, IDeletableEntityRepository <Genre> genreRepository, IDeletableEntityRepository <Language> languageRepository, IDeletableEntityRepository <Developer> developerRepository, IDeletableEntityRepository <GameGenre> gameGenreRepository, IDeletableEntityRepository <GameLanguage> gameLanguageRepository, IDeletableEntityRepository <GamePlatform> gamePlatformRepository, IRatingsService ratingsService) { this.gameRepository = gameRepository; this.platformRepository = platformRepository; this.genreRepository = genreRepository; this.languageRepository = languageRepository; this.developerRepository = developerRepository; this.gameGenreRepository = gameGenreRepository; this.gameLanguageRepository = gameLanguageRepository; this.gamePlatformRepository = gamePlatformRepository; this.ratingsService = ratingsService; }
public ReviewsService(IRatingsService ratings, IFeatureManager featureManager, ILogger <ReviewsService> logger) { _ratings = ratings; _featureManager = featureManager; _logger = logger; }
public CategoriesController(ICategoriesService categoriesService, IProjectsService projectsService, IRatingsService ratingsService) { this.categoriesService = categoriesService; this.projectsService = projectsService; this.ratingsService = ratingsService; }
public RatingsController(IRatingsService ratings) { this.ratings = ratings; }
public ProfilesController(IProfilesService profilesService, IRatingsService ratingsService, IDeletableEntityRepository <ApplicationUser> userRepository) { this.profilesService = profilesService; this.ratingsService = ratingsService; this.userRepository = userRepository; }
public RatingsController(IRatingsService ratingsService, IAuthenticationService <int> authService , ILogger <RatingsController> logger) : base(logger) { _ratingsService = ratingsService; _authService = authService; }
public StoriesController(IStoriesService storyService, IRatingsService ratingsService) { this.storyService = storyService; this.ratingsService = ratingsService; }
public RatingsController(IRatingsService ratingsService, IFilmsService FilmsService) { _ratingsService = ratingsService; _FilmsService = FilmsService; }
public ArticlesController(IArticlesService articlesService, IRatingsService ratingsService, IMapper mapper) { this.articlesService = articlesService; this.ratingsService = ratingsService; this.mapper = mapper; }
public RatingsController(IRatingsService service) { _service = service; }
public RatingsController(IRatingsService ratingsService) { this.ratingsService = ratingsService; }
public RatingsController(IRatingsService ratingService) { _ratingService = ratingService; }
public RestaurantsController(IRestaurantsService restaurantsService, IRatingsService ratingsService) { this.restaurantsService = restaurantsService; this.ratingsService = ratingsService; }
public DeanController(IUserService userService, IRatingsService ratingsService, ICourseService courseService) { _userService = userService; _ratingsService = ratingsService; _courseService = courseService; }