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

@@ -40,6 +40,14 @@ namespace AyaNova.Util
}
}
internal static AyaNova.Util.IMailer Mailer
{
get
{
return Scope.ServiceProvider.GetRequiredService<AyaNova.Util.IMailer>();
}
}
// https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-3.1
internal static System.Net.Http.IHttpClientFactory HttpClientFactory
{