public CustomerRepository(CustomerContext customerContext, ILoggerFactory _loggerFactory)
 {
     _customerContext = customerContext;
     _logger          = _loggerFactory.CreateLogger("CustomerRepository");
 }
コード例 #2
0
 public DbSeeder(ILoggerFactory loggerFactory, CustomerContext Context)
 {
     _Logger  = loggerFactory.CreateLogger("DbInitiliazerLogger");
     _Context = Context;
 }
コード例 #3
0
 public StatesRepository(CustomerContext customerContext, ILoggerFactory loggerFACTORY)
 {
     _customerContext = customerContext;
     _logger          = loggerFACTORY.CreateLogger("StatesRepository");
 }