From eefee3afe9ead24405a0d177ba98af5cc4c113e2 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 3 Sep 2026 10:37:12 +0330 Subject: [PATCH] last ... --- ...troller.cs => StringProviderController.cs} | 21 ++++++++++++------- xServices.csproj | 4 ++-- 2 files changed, 15 insertions(+), 10 deletions(-) rename Controllers/{XStringProviderController.cs => StringProviderController.cs} (72%) diff --git a/Controllers/XStringProviderController.cs b/Controllers/StringProviderController.cs similarity index 72% rename from Controllers/XStringProviderController.cs rename to Controllers/StringProviderController.cs index f2e0fbd..d8d5f75 100644 --- a/Controllers/XStringProviderController.cs +++ b/Controllers/StringProviderController.cs @@ -1,20 +1,25 @@ using System; using System.Linq; -using Microsoft.EntityFrameworkCore.Query; -using Microsoft.Extensions.Logging; -using xCommons.Configurations; using xCommons.Providers; -using xIdentityService.Interfaces; -using xStringService.Controllers; +using xCommons.Attributes; +using xCommons.Configurations; using xStringService.Interfaces; +using xStringService.Controllers; +using xIdentityService.Interfaces; +using Microsoft.Extensions.Logging; using xStringService.Models.Entities; +using Microsoft.EntityFrameworkCore.Query; namespace xServices.Controllers { - public class XStringProviderController : XStringProviderControllerBase, IXStringProviderController + /// + /// an endpoint for Providing String Resource Management Actions ... + /// + [RequireXPowered(IgnoreAnonymous: false)] + public class StringProviderController : XStringProviderControllerBase, IXStringProviderController { - public XStringProviderController( - ILogger logger, + public StringProviderController( + ILogger logger, XAppConfiguration appConfiguration, IXIdentityProvider identityProvider, XValidationProvider validationProvider, diff --git a/xServices.csproj b/xServices.csproj index 370cb28..eaf65cf 100644 --- a/xServices.csproj +++ b/xServices.csproj @@ -50,9 +50,9 @@ - true - true $(NoWarn);1591 + true + true \ No newline at end of file