From 2d2f35c972cd4df0046b132a8fddb726348a2c4a Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Thu, 24 Oct 2024 20:50:42 +0200 Subject: [PATCH] refactor(API): Ersetzte CRUDControllerBase mit CRUDControllerBaseWithErrorHandling auf allen Controllern. --- WorkFlow.API/Controllers/ConfigController.cs | 2 +- WorkFlow.API/Controllers/ProfileController.cs | 2 +- WorkFlow.API/Controllers/ProfileControlsTFController.cs | 2 +- WorkFlow.API/Controllers/ProfileObjStateController.cs | 2 +- WorkFlow.API/Controllers/StateController.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WorkFlow.API/Controllers/ConfigController.cs b/WorkFlow.API/Controllers/ConfigController.cs index 7ed86fc..63fc111 100644 --- a/WorkFlow.API/Controllers/ConfigController.cs +++ b/WorkFlow.API/Controllers/ConfigController.cs @@ -10,7 +10,7 @@ namespace WorkFlow.API.Controllers [Route("api/[controller]")] [ApiController] [Authorize] - public class ConfigController(ILogger logger, IConfigService service) : CRUDControllerBase(logger, service) + public class ConfigController(ILogger logger, IConfigService service) : CRUDControllerBaseWithErrorHandling(logger, service) { } } \ No newline at end of file diff --git a/WorkFlow.API/Controllers/ProfileController.cs b/WorkFlow.API/Controllers/ProfileController.cs index a3109c2..f015ec7 100644 --- a/WorkFlow.API/Controllers/ProfileController.cs +++ b/WorkFlow.API/Controllers/ProfileController.cs @@ -10,7 +10,7 @@ namespace WorkFlow.API.Controllers [Route("api/[controller]")] [ApiController] [Authorize] - public class ProfileController(ILogger logger, IProfileService service) : CRUDControllerBase(logger, service) + public class ProfileController(ILogger logger, IProfileService service) : CRUDControllerBaseWithErrorHandling(logger, service) { } } \ No newline at end of file diff --git a/WorkFlow.API/Controllers/ProfileControlsTFController.cs b/WorkFlow.API/Controllers/ProfileControlsTFController.cs index 9deeb2e..6d747a4 100644 --- a/WorkFlow.API/Controllers/ProfileControlsTFController.cs +++ b/WorkFlow.API/Controllers/ProfileControlsTFController.cs @@ -10,7 +10,7 @@ namespace WorkFlow.API.Controllers [Route("api/[controller]")] [ApiController] [Authorize] - public class ProfileControlsTFController(ILogger logger, IProfileControlsTFService service) : CRUDControllerBase(logger, service) + public class ProfileControlsTFController(ILogger logger, IProfileControlsTFService service) : CRUDControllerBaseWithErrorHandling(logger, service) { } } \ No newline at end of file diff --git a/WorkFlow.API/Controllers/ProfileObjStateController.cs b/WorkFlow.API/Controllers/ProfileObjStateController.cs index 9142247..308316a 100644 --- a/WorkFlow.API/Controllers/ProfileObjStateController.cs +++ b/WorkFlow.API/Controllers/ProfileObjStateController.cs @@ -10,7 +10,7 @@ namespace WorkFlow.API.Controllers [Route("api/[controller]")] [ApiController] [Authorize] - public class ProfileObjStateController(ILogger logger, IProfileObjStateService service) : CRUDControllerBase(logger, service) + public class ProfileObjStateController(ILogger logger, IProfileObjStateService service) : CRUDControllerBaseWithErrorHandling(logger, service) { } } \ No newline at end of file diff --git a/WorkFlow.API/Controllers/StateController.cs b/WorkFlow.API/Controllers/StateController.cs index b7b2b9c..cf14846 100644 --- a/WorkFlow.API/Controllers/StateController.cs +++ b/WorkFlow.API/Controllers/StateController.cs @@ -10,7 +10,7 @@ namespace WorkFlow.API.Controllers [Route("api/[controller]")] [ApiController] [Authorize] - public class StateController(ILogger logger, IStateService service) : CRUDControllerBase(logger, service) + public class StateController(ILogger logger, IStateService service) : CRUDControllerBaseWithErrorHandling(logger, service) { } } \ No newline at end of file