public MovieService(MovieDatabaseDbContext dbContext, IReviewService reviewService, IWatchlistService watchlistService, IMapper mapper) { this.dbContext = dbContext; this.reviewService = reviewService; this.watchlistService = watchlistService; this.mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="UserService"/> class. /// </summary> /// <param name="userRepository">The user repository.</param> /// <param name="accountService">The account service.</param> /// <param name="watchlistService">The watchlist service.</param> /// <param name="passwordHashingProvider">The password hashing provider.</param> public UserService( IUserRepository userRepository, IAccountService accountService, IWatchlistService watchlistService, PasswordHashingProvider passwordHashingProvider) { _userRepository = userRepository; _accountService = accountService; _watchlistService = watchlistService; _passwordHashingProvider = passwordHashingProvider; }
public WatchlistsController( DataContext dataContext, IHttpContextAccessor httpContextAccessor, IMapper mapper, IWatchlistService watchlistService) { _caller = httpContextAccessor.HttpContext.User; _dataContext = dataContext; _mapper = mapper; _watchlistService = watchlistService; }
public WatchlistController(IWatchlistService watchlistService, IUserService userService) { this.watchlistService = watchlistService; this.userService = userService; }
public WatchlistController(IWatchlistService watchlistService, IMemoryCache cacheService) { this.watchlistService = watchlistService ?? throw new ArgumentNullException(nameof(watchlistService)); this.cacheService = cacheService ?? throw new ArgumentNullException(nameof(cacheService)); }
public WatchlistController(IWatchlistService watchlistService) { _watchlistService = watchlistService; }
public WatchlistController(IWatchlistService watchlistService, IOmdbApi omdbApi) { _watchlistService = watchlistService; _omdbApi = omdbApi; }
public WatchlistController(IWatchlistService watchlistService, IWatchlistValidatorService watchlistValidatorService) { _watchlistService = watchlistService; _watchlistValidatorService = watchlistValidatorService; }