changed setting for SettingEndpoints

This commit is contained in:
2025-11-07 17:45:35 +01:00
parent 97a7c6811c
commit 304c06ed19
5 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,8 @@
using PyroFetes.DTO.SettingDTO.Request; using FastEndpoints;
using PyroFetes.DTO.SettingDTO.Request;
using PyroFetes.DTO.SettingDTO.Response; using PyroFetes.DTO.SettingDTO.Response;
using FastEndpoints;
namespace PyroFetes.Endpoints.Setting; namespace PyroFetes.Endpoints.SettingEndpoints;
public class CreateSettingEndpoint(PyroFetesDbContext database) : Endpoint<CreateSettingDto, GetSettingDto> public class CreateSettingEndpoint(PyroFetesDbContext database) : Endpoint<CreateSettingDto, GetSettingDto>
{ {

View File

@@ -1,7 +1,7 @@
using FastEndpoints; using FastEndpoints;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace PyroFetes.Endpoints.Setting; namespace PyroFetes.Endpoints.SettingEndpoints;
public class DeleteSettingRequest public class DeleteSettingRequest
{ {

View File

@@ -2,7 +2,7 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using PyroFetes.DTO.SettingDTO.Response; using PyroFetes.DTO.SettingDTO.Response;
namespace PyroFetes.Endpoints.Setting; namespace PyroFetes.Endpoints.SettingEndpoints;
public class GetSettingRequest public class GetSettingRequest
{ {

View File

@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;
using PyroFetes.DTO.SettingDTO.Request; using PyroFetes.DTO.SettingDTO.Request;
using PyroFetes.DTO.SettingDTO.Response; using PyroFetes.DTO.SettingDTO.Response;
namespace PyroFetes.Endpoints.Setting; namespace PyroFetes.Endpoints.SettingEndpoints;
public class PatchSettingElectronicSignatureEndpoint(PyroFetesDbContext database) : Endpoint<PatchSettingElectronicSignatureDto, GetSettingDto> public class PatchSettingElectronicSignatureEndpoint(PyroFetesDbContext database) : Endpoint<PatchSettingElectronicSignatureDto, GetSettingDto>
{ {

View File

@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;
using PyroFetes.DTO.SettingDTO.Request; using PyroFetes.DTO.SettingDTO.Request;
using PyroFetes.DTO.SettingDTO.Response; using PyroFetes.DTO.SettingDTO.Response;
namespace PyroFetes.Endpoints.Setting; namespace PyroFetes.Endpoints.SettingEndpoints;
public class PatchSettingLogoEndpoint(PyroFetesDbContext database) : Endpoint<PatchSettingLogoDto, GetSettingDto> public class PatchSettingLogoEndpoint(PyroFetesDbContext database) : Endpoint<PatchSettingLogoDto, GetSettingDto>
{ {