GuestLog - Moved Enums

- Enums moved to Enum folder (by type).
- ResultCode class changed to enum to ensure type safety in results.
This commit is contained in:
2026-08-25 15:18:02 +02:00
parent b18bd7caa6
commit 4f22cd4541
13 changed files with 51 additions and 45 deletions
@@ -1,3 +1,5 @@
using Somnia.GuestLog.Enums.Services;
namespace Somnia.GuestLog.Models.Configuration;
public class AddressQueryConfig
@@ -5,18 +7,10 @@ public class AddressQueryConfig
public const string SectionName = "AddressQuery";
public bool EnableAddressQuery { get; set; }
public AddressQueryProviderEnum? Provider { get; set; }
public AddressQueryProvider? Provider { get; set; }
public string? ServiceURL { get; set; }
public string? ApiKey { get; set; }
public string? UserAgent { get; set; }
public string? ResultLang { get; set; }
public enum AddressQueryProviderEnum
{
Nominatim,
GoogleApiV4
}
}