This commit is contained in:
2020-07-22 15:30:56 +00:00
parent f9f55c95d7
commit edd58cb380
4 changed files with 34 additions and 6 deletions

View File

@@ -75,6 +75,10 @@ namespace AyaNova
_newLog.LogDebug("ServerState service");
services.AddSingleton(new AyaNova.Api.ControllerHelpers.ApiServerState());
_newLog.LogDebug("Mail service");
services.AddSingleton<IMailer,Mailer>();
//Init controllers
_newLog.LogDebug("Controllers");
var MvcBuilder = services.AddControllers(config =>