Beispiel #1
0
 public RecommendationsController(IGetRecommendations recommendationService, ILogger <RecommendationsController> logger, IAdminOperations adminService, ObjectValuesChecker checker)
 {
     _recommendationService = recommendationService;
     _logger       = logger;
     _adminService = adminService;
     _checker      = checker;
 }
Beispiel #2
0
 public SongController(CancerIspContext context, SpotifyWebAPI spotifyWebApi, IGetRecommendations <Song> getRecommendations)
 {
     _context                = context;
     _spotifyWebApi          = spotifyWebApi;
     this.getRecommendations = getRecommendations;
 }
Beispiel #3
0
 public HomeController(CancerIspContext context, IGetRecommendations <Song> getRecommendations)
 {
     _context            = context;
     _getRecommendations = getRecommendations;
 }