public PlaylistsController(IPlaylistService _service, IGeneratePlaylistService _generateService, IAdminService _adminService, UserManager <User> _userManager, IPixaBayImageService imgService) { this.service = _service; this.generateService = _generateService; this.adminService = _adminService; this.userManager = _userManager; this.imageService = imgService; }
public PlaylistsApiController(IAPIUserService _userService, UserManager <User> _userManager, IPlaylistService _playlistService, IGeneratePlaylistService _generateService, IPixaBayImageService _imageService) { this.playlistService = _playlistService; this.generateService = _generateService; this.imageService = _imageService; this.userService = _userService; this.userManager = _userManager; }
public HomeController(ILogger <HomeController> logger, IDatabaseSeedService seedService, IGeneratePlaylistService generatePlaylistService, IPlaylistService playlistService, IStatisticsService stats, IPixaBayImageService imageService) { this._logger = logger; this._seedService = seedService; this._generatePlaylistService = generatePlaylistService; this._playlistService = playlistService; this._statistics = stats; this._imageService = imageService; }
public PlaylistService(RidePalDbContext _context, IDateTimeProvider _dateTimeProvider, IPixaBayImageService imageService) { this.context = _context; this.dateTimeProvider = _dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider)); this.imageService = imageService; }