public SendGrid(ISendGridApiSettings sendGridApiSettings) { SendGridApiSettings = sendGridApiSettings; }
public SendGrid(IOptions <SendGridApiSettings> options) { SendGridApiSettings = options.Value; }
public SendGrid(ISendGridApiSettings sendGridApiSettings) { SendGridApiSettings = sendGridApiSettings; }
public SendGrid(IOptions <SendGridApiSettings> options) { SendGridApiSettings = options.Value; }