Ejemplo n.º 1
0
 public ProductsController(
     IProductService ProductService,
     ILoggerFactory loggerFactory,
     MyAppSetttings myAppSetttings) : base(loggerFactory, myAppSetttings)
 {
     this.ProductService = ProductService;
     this.Logger         = loggerFactory.CreateLogger <ProductsController>();
 }
Ejemplo n.º 2
0
 public BaseController(ILoggerFactory loggerFactory, MyAppSetttings myAppSetttings)
 {
     LoggerFactory  = loggerFactory;
     MyAppSetttings = myAppSetttings;
 }