Refactor Api-Client
Add Exceptionhandler, AlertService JSON-Converter AppSettings via DI Reformat Code
This commit is contained in:
6
Jugenddienst Stunden/Infrastructure/ApiOptions.cs
Normal file
6
Jugenddienst Stunden/Infrastructure/ApiOptions.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Jugenddienst_Stunden.Infrastructure;
|
||||
|
||||
internal sealed class ApiOptions {
|
||||
public required string BaseUrl { get; init; }
|
||||
public TimeSpan Timeout { get; init; } = TimeSpan.FromSeconds(15);
|
||||
}
|
||||
Reference in New Issue
Block a user