Created a generalservice for helper methods.

Moved constants to Farmmaps API project.
This commit is contained in:
2020-04-08 11:43:53 +02:00
parent 04235a4fd2
commit 418446e9d2
7 changed files with 150 additions and 117 deletions

View File

@@ -27,6 +27,7 @@ namespace FarmmapsApi
.AddSingleton<FarmmapsEventHub>()
.AddTransient<OpenIdConnectService>()
.AddTransient<FarmmapsAuthenticationHandler>()
.AddTransient<GeneralService>()
.AddHttpClient<FarmmapsApiService>()
.AddHttpMessageHandler<FarmmapsAuthenticationHandler>()
.Services;