using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using xCategoryService.Interfaces; using xCommons.Configurations; using xCommons.Controllers; using xCommons.Providers; namespace xApi.Controllers { [AllowAnonymous] public class TestFeaturesController : XBaseApiController { private readonly IXSubCategoryTitleResourceProvider subCategoryTitleResourceProvider; public TestFeaturesController( ILogger logger, XAppConfiguration appConfiguration, XValidationProvider validationProvider, IXSubCategoryTitleResourceProvider subCategoryTitleResourceProvider ) : base( logger, appConfiguration, validationProvider ) { this.subCategoryTitleResourceProvider = subCategoryTitleResourceProvider; } [HttpGet] public async Task TestFeature() { // var result = await subCategoryTitleResourceProvider.GetLanguages( identifier: "SSSSAAALLLAAAM" ); // return Ok(result); } } }