Example #1
0
 public ProductsController(ILogger logger,
                           IHttpContextAccessor httpContextAccessor, IProductsLogic productsLogic) : base(logger)
 {
     _httpContextAccessor = httpContextAccessor;
     _productsLogic       = productsLogic;
 }
 public ProductsController(IProductsLogic productsLogic)
 {
     _productsLogic = productsLogic;
 }