Beispiel #1
0
 public LineController(LineBotContext context, IOptions <AppSettings> settings, ILogger <LineService> logger)
 {
     _lineService = new LineService(context, settings.Value, logger);
 }
Beispiel #2
0
 public LineService(LineBotContext context, AppSettings settings, ILogger <LineService> logger)
 {
     _context  = context;
     _settings = settings;
     _logger   = logger;
 }