public MoviesController(IApiService apiService, IPosterService posterService, IOptions <PaginationOptions> paginationSettings) { _apiService = apiService; _posterService = posterService; _paginationSettings = paginationSettings; }
/// <summary> /// Initializes a new instance of <see cref="MovieLibrary"/> class. /// </summary> /// <param name="critic">Critic to use</param> /// <param name="posterService">Poster service to use</param> /// <param name="factory">Factory to create new movies</param> public MovieLibrary(IMovieCritic critic, IPosterService posterService, IMovieFactory factory) : this(critic) { this._posterService = posterService; this._factory = factory; }
public FilmService(ApplicationDbContext dbContext, IPosterService posterService, IHttpContextAccessor httpContextAccessor, UserManager <User> userManager) { _dbContext = dbContext; _posterService = posterService; _httpContextAccessor = httpContextAccessor; _userManager = userManager; }
/// <summary> /// Initializes a new instance of <see cref="SimpleMediaLibrary"/> class /// </summary> /// <param name="critic">Critic to use</param> /// <param name="posterService"></param> /// <param name="factory"></param> public SimpleMediaLibrary(IMovieCritic critic, IPosterService posterService, IMovieFactory factory) { _critic = critic; _posterService = posterService; _factory = factory; }
/// <summary> /// Initializes a new instances of <see cref="SimpleMovieLibrary"/> class. /// </summary> /// <param name="posterService">Service to find the poster</param> /// <param name="factory">Factory to import the movies</param> /// <param name="critic">Critic to filter movies</param> public SimpleMovieLibrary(IPosterService posterService, IMovieFactory factory, IMovieCritic critic) { _posterService = posterService; _critic = critic; _factory = factory; }
public PosterController(IPosterService posterService, IUserService userService) { _posterService = posterService; _userService = userService; }
/// <summary> /// Initializes a new instances of <see cref="SimpleMovieLibrary"/> class. /// </summary> /// <param name="posterService">Service to find the poster</param> /// <param name="factory">Factory to import the movies</param> /// <param name="critic">Critic to filter movies</param> public SimpleMovieLibrary(IPosterService posterService, IMovieFactory factory, IMovieCritic critic) { _posterService = posterService; _critic = critic; _factory = factory; }