add Base Controllers ...

This commit is contained in:
2026-05-15 02:48:28 +03:30
parent de3aa2f0cf
commit 29b7516284
2 changed files with 60 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using xCommons.Attributes;
using xCommons.Configurations;
using xCommons.Providers;
namespace xCommons.Controllers {
/// <summary>
/// Base Api Controller
/// </summary>
[ApiController]
[RequireXPowered(true)]
[Route("api/[controller]")]
[Produces("application/json")]
public abstract partial class XBaseApiController : XBaseController
{
protected XBaseApiController(
ILogger logger,
XAppConfiguration appConfiguration,
XValidationProvider validationProvider
) : base(
logger,
appConfiguration,
validationProvider
)
{ }
}
}