Esempio n. 1
0
        public void Setup()
        {
            _lyricService       = new Mock <ILyricService>();
            _musicBrainzService = new Mock <IMusicBrainzService>();
            _lyricCalculator    = new Mock <ILyricCalculator>();

            _lyricApiLogic = new LyricApiLogic(_musicBrainzService.Object, _lyricService.Object, _lyricCalculator.Object);
        }
Esempio n. 2
0
 public LyricController(ILyricApiLogic lyricApiLogic)
 {
     _lyricApiLogic = lyricApiLogic;
 }
Esempio n. 3
0
 public HomeController(ILogger <HomeController> logger, ILyricApiLogic lyricApiLogic)
 {
     _logger        = logger;
     _lyricApiLogic = lyricApiLogic;
 }