lab-7 it does not work
This commit is contained in:
parent
e77be06f60
commit
2dd7c33347
@ -31,8 +31,7 @@ namespace BlacksmithWorkshop
|
||||
_serviceProvider = services.BuildServiceProvider();
|
||||
try
|
||||
{
|
||||
var mailSender =
|
||||
_serviceProvider.GetService<AbstractMailWorker>();
|
||||
var mailSender = _serviceProvider.GetService<AbstractMailWorker>();
|
||||
mailSender?.MailConfig(new MailConfigBindingModel
|
||||
{
|
||||
MailLogin = System.Configuration.ConfigurationManager.AppSettings["MailLogin"]
|
||||
|
Loading…
Reference in New Issue
Block a user