Esempio n. 1
0
 public CoordService(ILogger<CoordService> logger, IOptions<AppSettings> optionsAccessor)
 {
     this.logger = logger;
     this.options = optionsAccessor.Value;
 }
Esempio n. 2
0
 public AppController(IMailService service, IOptions<AppSettings> optionsAccessor, IWorldRepository worldRepo)
 {
     mailService = service;
     Options = optionsAccessor.Value;
     this.worldRepo = worldRepo;
 }