Align .editorconfig files
When debugging only app.Services.GetRequiredService<IPCRBService>(); Injected AppSettings instead of using GetEnvironmentVariable at Services level Get ready to use VSCode IDE
This commit is contained in:
@ -7,7 +7,7 @@ public interface ISmtpClientWrapper {
|
||||
}
|
||||
|
||||
public class SmtpClientWrapper : ISmtpClientWrapper {
|
||||
private SmtpClient _client;
|
||||
private readonly SmtpClient _client;
|
||||
|
||||
public SmtpClientWrapper(SmtpClient client) {
|
||||
_client = client ??
|
||||
@ -17,4 +17,4 @@ public class SmtpClientWrapper : ISmtpClientWrapper {
|
||||
public void Send(MailMessage message) {
|
||||
_client.Send(message);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user