public SigfoxCallbackController( SecurityService securityService, IConfiguration configuration, SmartGeoIotContext context, LogService log, IOptions <SmartGeoIot.SgiSettings> sgiSettings, SmartGeoIotService sgiService) { _securityService = securityService; _configuration = configuration; _context = context; _log = log; _sgiSettings = sgiSettings.Value; _securityService = securityService; _sgiService = sgiService; }
public SmartGeoIotService( Data.SmartGeoIotContext context, Box.Security.Data.SecurityDbContext securityContext, LogService log, IHostingEnvironment env, Box.Security.Services.SecurityService securityService, Box.Common.Services.IEmailSender emailSender, Box.Common.Services.TemplateService templateService, IOptions <Box.Common.BoxSettings> boxSettings, IOptions <SmartGeoIot.SgiSettings> sgiSettings, IStringLocalizer <Box.Common.Strings> strings) { _context = context; _securityContext = securityContext; _log = log; WebPath = env.WebRootPath; AppPath = env.ContentRootPath; _securityService = securityService; _emailSender = emailSender; _templateService = templateService; _boxSettings = boxSettings.Value; _sgiSettings = sgiSettings.Value; this._strings = strings; }