public void Setup() { _lyricService = new Mock <ILyricService>(); _musicBrainzService = new Mock <IMusicBrainzService>(); _lyricCalculator = new Mock <ILyricCalculator>(); _lyricApiLogic = new LyricApiLogic(_musicBrainzService.Object, _lyricService.Object, _lyricCalculator.Object); }
public LyricController(ILyricApiLogic lyricApiLogic) { _lyricApiLogic = lyricApiLogic; }
public HomeController(ILogger <HomeController> logger, ILyricApiLogic lyricApiLogic) { _logger = logger; _lyricApiLogic = lyricApiLogic; }