コード例 #1
0
 public EventDaoService(
     EventDatabaseContext context,
     ILoggerFactory logger
     )
 {
     _logger  = logger.CreateLogger("EventWebApp.Service.EventDaoService");
     _context = context;
 }
コード例 #2
0
 public EventController(EventDatabaseContext context, ILogger <EventController> logger) : base(context, logger)
 {
     _context = context;
     _logger  = logger;
 }