Пример #1
0
 public HomeController(ILogger logger, CounterHelper <MvcMusicStoreCounters> musicStoreCounterHelper)
 {
     _logger = logger;
     _musicStoreCounterHelper = musicStoreCounterHelper;
     ;
     _logger.Info($"Call {nameof(HomeController)} constructor.");
     _logger.Debug($"GoToHomeCounter = {musicStoreCounterHelper.GetInstance(MvcMusicStoreCounters.GoToHome)?.RawValue}.");
 }