From 304c06ed19f2e56a7d2794faa9f4c92d98414fa7 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Fri, 7 Nov 2025 17:45:35 +0100 Subject: [PATCH] changed setting for SettingEndpoints --- .../{Setting => SettingEndpoints}/CreateSettingEndpoint.cs | 7 ++++--- .../{Setting => SettingEndpoints}/DeleteSettingEndpoint.cs | 2 +- .../{Setting => SettingEndpoints}/GetSettingEndpoint.cs | 2 +- .../PatchSettingElectronicSignatureEndpoint.cs | 2 +- .../PatchSettingLogoEndpoint.cs | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) rename PyroFetes/Endpoints/{Setting => SettingEndpoints}/CreateSettingEndpoint.cs (87%) rename PyroFetes/Endpoints/{Setting => SettingEndpoints}/DeleteSettingEndpoint.cs (94%) rename PyroFetes/Endpoints/{Setting => SettingEndpoints}/GetSettingEndpoint.cs (95%) rename PyroFetes/Endpoints/{Setting => SettingEndpoints}/PatchSettingElectronicSignatureEndpoint.cs (95%) rename PyroFetes/Endpoints/{Setting => SettingEndpoints}/PatchSettingLogoEndpoint.cs (95%) diff --git a/PyroFetes/Endpoints/Setting/CreateSettingEndpoint.cs b/PyroFetes/Endpoints/SettingEndpoints/CreateSettingEndpoint.cs similarity index 87% rename from PyroFetes/Endpoints/Setting/CreateSettingEndpoint.cs rename to PyroFetes/Endpoints/SettingEndpoints/CreateSettingEndpoint.cs index 11dcedd..93250d6 100644 --- a/PyroFetes/Endpoints/Setting/CreateSettingEndpoint.cs +++ b/PyroFetes/Endpoints/SettingEndpoints/CreateSettingEndpoint.cs @@ -1,7 +1,8 @@ -using PyroFetes.DTO.SettingDTO.Request; +using FastEndpoints; +using PyroFetes.DTO.SettingDTO.Request; using PyroFetes.DTO.SettingDTO.Response; -using FastEndpoints; -namespace PyroFetes.Endpoints.Setting; + +namespace PyroFetes.Endpoints.SettingEndpoints; public class CreateSettingEndpoint(PyroFetesDbContext database) : Endpoint { diff --git a/PyroFetes/Endpoints/Setting/DeleteSettingEndpoint.cs b/PyroFetes/Endpoints/SettingEndpoints/DeleteSettingEndpoint.cs similarity index 94% rename from PyroFetes/Endpoints/Setting/DeleteSettingEndpoint.cs rename to PyroFetes/Endpoints/SettingEndpoints/DeleteSettingEndpoint.cs index 92bfba7..0930566 100644 --- a/PyroFetes/Endpoints/Setting/DeleteSettingEndpoint.cs +++ b/PyroFetes/Endpoints/SettingEndpoints/DeleteSettingEndpoint.cs @@ -1,7 +1,7 @@ using FastEndpoints; using Microsoft.EntityFrameworkCore; -namespace PyroFetes.Endpoints.Setting; +namespace PyroFetes.Endpoints.SettingEndpoints; public class DeleteSettingRequest { diff --git a/PyroFetes/Endpoints/Setting/GetSettingEndpoint.cs b/PyroFetes/Endpoints/SettingEndpoints/GetSettingEndpoint.cs similarity index 95% rename from PyroFetes/Endpoints/Setting/GetSettingEndpoint.cs rename to PyroFetes/Endpoints/SettingEndpoints/GetSettingEndpoint.cs index 9ebd72b..34b059d 100644 --- a/PyroFetes/Endpoints/Setting/GetSettingEndpoint.cs +++ b/PyroFetes/Endpoints/SettingEndpoints/GetSettingEndpoint.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore; using PyroFetes.DTO.SettingDTO.Response; -namespace PyroFetes.Endpoints.Setting; +namespace PyroFetes.Endpoints.SettingEndpoints; public class GetSettingRequest { diff --git a/PyroFetes/Endpoints/Setting/PatchSettingElectronicSignatureEndpoint.cs b/PyroFetes/Endpoints/SettingEndpoints/PatchSettingElectronicSignatureEndpoint.cs similarity index 95% rename from PyroFetes/Endpoints/Setting/PatchSettingElectronicSignatureEndpoint.cs rename to PyroFetes/Endpoints/SettingEndpoints/PatchSettingElectronicSignatureEndpoint.cs index c54d915..39e8459 100644 --- a/PyroFetes/Endpoints/Setting/PatchSettingElectronicSignatureEndpoint.cs +++ b/PyroFetes/Endpoints/SettingEndpoints/PatchSettingElectronicSignatureEndpoint.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using PyroFetes.DTO.SettingDTO.Request; using PyroFetes.DTO.SettingDTO.Response; -namespace PyroFetes.Endpoints.Setting; +namespace PyroFetes.Endpoints.SettingEndpoints; public class PatchSettingElectronicSignatureEndpoint(PyroFetesDbContext database) : Endpoint { diff --git a/PyroFetes/Endpoints/Setting/PatchSettingLogoEndpoint.cs b/PyroFetes/Endpoints/SettingEndpoints/PatchSettingLogoEndpoint.cs similarity index 95% rename from PyroFetes/Endpoints/Setting/PatchSettingLogoEndpoint.cs rename to PyroFetes/Endpoints/SettingEndpoints/PatchSettingLogoEndpoint.cs index 4bfe5c1..553800a 100644 --- a/PyroFetes/Endpoints/Setting/PatchSettingLogoEndpoint.cs +++ b/PyroFetes/Endpoints/SettingEndpoints/PatchSettingLogoEndpoint.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore; using PyroFetes.DTO.SettingDTO.Request; using PyroFetes.DTO.SettingDTO.Response; -namespace PyroFetes.Endpoints.Setting; +namespace PyroFetes.Endpoints.SettingEndpoints; public class PatchSettingLogoEndpoint(PyroFetesDbContext database) : Endpoint {