diff --git a/Persistence.API/Controllers/DataSaubController.cs b/Persistence.API/Controllers/DataSaubController.cs index 202e527..715b1ef 100644 --- a/Persistence.API/Controllers/DataSaubController.cs +++ b/Persistence.API/Controllers/DataSaubController.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Persistence.Models; using Persistence.Repositories; -using Persistence.Repository.Data; namespace Persistence.API.Controllers; diff --git a/Persistence.API/Persistence.API.http b/Persistence.API/Persistence.API.http deleted file mode 100644 index 0eba8fa..0000000 --- a/Persistence.API/Persistence.API.http +++ /dev/null @@ -1,6 +0,0 @@ -@Persistence.API_HostAddress = http://localhost:5032 - -GET {{Persistence.API_HostAddress}}/weatherforecast/ -Accept: application/json - -### diff --git a/Persistence.IntegrationTests/Controllers/DataSaubControllerTest.cs b/Persistence.IntegrationTests/Controllers/DataSaubControllerTest.cs index 7edd0f3..49365a8 100644 --- a/Persistence.IntegrationTests/Controllers/DataSaubControllerTest.cs +++ b/Persistence.IntegrationTests/Controllers/DataSaubControllerTest.cs @@ -1,5 +1,5 @@ using Persistence.Database.Model; -using Persistence.Repository.Data; +using Persistence.Models; using Xunit; namespace Persistence.IntegrationTests.Controllers; diff --git a/Persistence.Repository/DependencyInjection.cs b/Persistence.Repository/DependencyInjection.cs index c433615..f7cddec 100644 --- a/Persistence.Repository/DependencyInjection.cs +++ b/Persistence.Repository/DependencyInjection.cs @@ -3,7 +3,6 @@ using Microsoft.Extensions.DependencyInjection; using Persistence.Database.Model; using Persistence.Models; using Persistence.Repositories; -using Persistence.Repository.Data; using Persistence.Repository.Repositories; namespace Persistence.Repository; diff --git a/Persistence.Repository/Data/DataSaubDto.cs b/Persistence/Models/DataSaubDto.cs similarity index 92% rename from Persistence.Repository/Data/DataSaubDto.cs rename to Persistence/Models/DataSaubDto.cs index 3cd0344..cd547da 100644 --- a/Persistence.Repository/Data/DataSaubDto.cs +++ b/Persistence/Models/DataSaubDto.cs @@ -1,6 +1,4 @@ -using Persistence.Models; - -namespace Persistence.Repository.Data; +namespace Persistence.Models; public class DataSaubDto : ITimeSeriesAbstractDto { public DateTimeOffset Date { get; set; } = DateTimeOffset.UtcNow;