Правки

This commit is contained in:
Pyatkin I.A 2024-05-16 18:08:45 +04:00
parent 2591e22c67
commit 050500a561

View File

@ -90,6 +90,6 @@ namespace PrecastConcretePlantView
DependencyManager.Instance.RegisterType<FormImplementer>(); DependencyManager.Instance.RegisterType<FormImplementer>();
DependencyManager.Instance.RegisterType<FormViewMail>(); DependencyManager.Instance.RegisterType<FormViewMail>();
} }
private static void MailCheck(object obj) => ServiceProvider?.GetService<AbstractMailWorker>()?.MailCheck(); private static void MailCheck(object obj) => DependencyManager.Instance.Resolve<AbstractMailWorker>()?.MailCheck();
} }
} }