public EmailSender(IOptions <MyConfiguration> opt) { _config = opt.Value; }
public EmailSender(MyConfiguration cfg) { _config = cfg; }
public EmailSender(IOptions <MyConfiguration> opt) { _config = opt.Value; }
public EmailSender(MyConfiguration cfg) { _config = cfg; }