33 lines
898 B
C#
33 lines
898 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using xCommons.Attributes;
|
|
using xCommons.Configurations;
|
|
using xCommons.Providers;
|
|
using xIdentityService.Controllers;
|
|
using xIdentityService.Interfaces;
|
|
|
|
namespace xAiApi.Base
|
|
{
|
|
[ApiController]
|
|
[ApiVersion("1.0")]
|
|
[RequireXPowered(true)]
|
|
[Route("api/v{version:apiVersion}/[controller]")]
|
|
public abstract class XIBaseV1Controller : XIBaseController
|
|
{
|
|
//
|
|
#region Constructor ...
|
|
protected XIBaseV1Controller(
|
|
ILogger<XIBaseV1Controller> logger,
|
|
XAppConfiguration appConfiguration,
|
|
IXIdentityProvider identityProvider,
|
|
XValidationProvider validationProvider
|
|
) : base(
|
|
logger,
|
|
appConfiguration,
|
|
identityProvider,
|
|
validationProvider
|
|
)
|
|
{ }
|
|
#endregion
|
|
}
|
|
} |