Unit tests working; added logger adapter.

This commit is contained in:
Steve Smith
2017-04-30 08:06:06 -04:00
parent 6f908bb8e5
commit dfe0106ce3
6 changed files with 31 additions and 13 deletions

View File

@@ -15,12 +15,12 @@ namespace Microsoft.eShopWeb.Controllers
private readonly IHostingEnvironment _env;
private readonly ICatalogService _catalogService;
private readonly IImageService _imageService;
private readonly ILogger<CatalogController> _logger;
private readonly IAppLogger<CatalogController> _logger;
public CatalogController(IHostingEnvironment env,
ICatalogService catalogService,
IImageService imageService,
ILogger<CatalogController> logger)
IAppLogger<CatalogController> logger)
{
_env = env;
_catalogService = catalogService;