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