diff options
Diffstat (limited to 'api/WhatApi/Endpoints')
| -rw-r--r-- | api/WhatApi/Endpoints/BaseEndpoint.cs | 1 | ||||
| -rw-r--r-- | api/WhatApi/Endpoints/DownloadContentEndpoint.cs | 2 | ||||
| -rw-r--r-- | api/WhatApi/Endpoints/GetPlacesEndpoint.cs | 4 | ||||
| -rw-r--r-- | api/WhatApi/Endpoints/UploadContentEndpoint.cs | 5 |
4 files changed, 0 insertions, 12 deletions
diff --git a/api/WhatApi/Endpoints/BaseEndpoint.cs b/api/WhatApi/Endpoints/BaseEndpoint.cs index 4d8f9ad..1fdf14f 100644 --- a/api/WhatApi/Endpoints/BaseEndpoint.cs +++ b/api/WhatApi/Endpoints/BaseEndpoint.cs @@ -1,5 +1,4 @@ using System.Net; -using Microsoft.AspNetCore.Mvc; namespace WhatApi.Endpoints; diff --git a/api/WhatApi/Endpoints/DownloadContentEndpoint.cs b/api/WhatApi/Endpoints/DownloadContentEndpoint.cs index dbe6bff..34e51e8 100644 --- a/api/WhatApi/Endpoints/DownloadContentEndpoint.cs +++ b/api/WhatApi/Endpoints/DownloadContentEndpoint.cs @@ -1,5 +1,3 @@ -using Microsoft.AspNetCore.Mvc; - namespace WhatApi.Endpoints; public class DownloadContentEndpoint : BaseEndpoint diff --git a/api/WhatApi/Endpoints/GetPlacesEndpoint.cs b/api/WhatApi/Endpoints/GetPlacesEndpoint.cs index a3fc7e3..8dbdff6 100644 --- a/api/WhatApi/Endpoints/GetPlacesEndpoint.cs +++ b/api/WhatApi/Endpoints/GetPlacesEndpoint.cs @@ -1,8 +1,4 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; -using NetTopologySuite; using NetTopologySuite.Features; -using NetTopologySuite.Geometries; using WhatApi.Tables; namespace WhatApi.Endpoints; diff --git a/api/WhatApi/Endpoints/UploadContentEndpoint.cs b/api/WhatApi/Endpoints/UploadContentEndpoint.cs index 82fb71b..b114310 100644 --- a/api/WhatApi/Endpoints/UploadContentEndpoint.cs +++ b/api/WhatApi/Endpoints/UploadContentEndpoint.cs @@ -1,7 +1,3 @@ -using Microsoft.AspNetCore.Http.Extensions; -using Microsoft.AspNetCore.Mvc; -using NetTopologySuite; -using NetTopologySuite.Geometries; namespace WhatApi.Endpoints; @@ -32,7 +28,6 @@ public class UploadContentEndpoint(Database db) : BaseEndpoint var content = new Tables.Content() { Id = contentId, Mime = request.File.ContentType, - Created = DateTime.UtcNow, BlobId = blobId, Ip = GetIp() }; |
