public SettingsService ( JwtSettings jwtSettings, EmailNotificationSettings emailNotificationSettings, UIUrlSettings uiUrlSettings ) { JwtSettings = jwtSettings; EmailNotificationSettings = emailNotificationSettings; UIUrlSettings = uiUrlSettings; }
public Startup(IConfiguration configuration) { Configuration = configuration; var jwtSettings = new JwtSettings(); Configuration.Bind(nameof(JwtSettings), jwtSettings); var emailSettings = new EmailSettings(); Configuration.Bind(nameof(EmailSettings), emailSettings); var uiUrlsettings = new UIUrlSettings(); Configuration.Bind(nameof(UIUrlSettings), uiUrlsettings); _settingsService = new SettingsService(jwtSettings, emailSettings, uiUrlsettings); }
public SettingsService(JwtSettings jwtSettings, EmailSettings emailSettings, UIUrlSettings uiUrlSettings) { JwtSettings = jwtSettings; EmailSettings = emailSettings; UiUrlSettings = uiUrlSettings; }