apply sorting ...

This commit is contained in:
2026-09-06 00:19:09 +03:30
parent eefee3afe9
commit eecb4ed47d
34 changed files with 158 additions and 121 deletions
@@ -1,20 +1,20 @@
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Query;
using xCommons.Providers;
using xCommons.Configurations;
using xCategoryService.Interfaces;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using xCategoryService.Controllers;
using xCategoryService.Interfaces;
using xCategoryService.Models.Entities;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityService.Interfaces;
using Microsoft.EntityFrameworkCore.Query;
namespace xServices.Controllers
{
public class XCategoryProviderController : XCategoryProviderControllerBase, IXCategoryProviderController
public class CategoryProviderController : XCategoryProviderControllerBase, IXCategoryProviderController
{
public XCategoryProviderController(
ILogger<XCategoryProviderController> logger,
public CategoryProviderController(
ILogger<CategoryProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
+38
View File
@@ -0,0 +1,38 @@
using System;
using System.Linq;
using xCommons.Providers;
using xCommons.Configurations;
using xContentService.Interfaces;
using xContentService.Controllers;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using xContentService.Models.Entities;
using Microsoft.EntityFrameworkCore.Query;
using xContentService.Interfaces.Controllers;
namespace xServices.Controllers
{
public class ContentProviderController : XContentProviderControllerBase, IXContentProviderController
{
public ContentProviderController(
ILogger<ContentProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
IXContentProvider provider,
IXContentTagProvided tagProvided,
Func<IQueryable<XContent>, IOrderedQueryable<XContent>> defaultOrderBuilder = null,
Func<IQueryable<XContent>, IIncludableQueryable<XContent, object>> defaultIncludeBuilder = null
) : base(
logger,
appConfiguration,
identityProvider,
validationProvider,
provider,
tagProvided,
defaultOrderBuilder,
defaultIncludeBuilder
)
{ }
}
}
@@ -1,20 +1,20 @@
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
using xCommons.Providers;
using xFileService.Controllers;
using xCommons.Configurations;
using xFileService.Interfaces;
using xFileService.Models.Entities;
using xFileService.Controllers;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using xFileService.Models.Entities;
using Microsoft.EntityFrameworkCore.Query;
namespace xServices.Controllers
{
public class XFileProviderController : XFileProviderControllerBase, IXFileProviderController
public class FileProviderController : XFileProviderControllerBase, IXFileProviderController
{
public XFileProviderController(
ILogger<XFileProviderController> logger,
public FileProviderController(
ILogger<FileProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
@@ -1,20 +1,20 @@
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Query;
using xCommons.Providers;
using xCommons.Configurations;
using xCategoryService.Interfaces;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using xCategoryService.Controllers;
using xCategoryService.Interfaces;
using xCategoryService.Models.Entities;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityService.Interfaces;
using Microsoft.EntityFrameworkCore.Query;
namespace xServices.Controllers
{
public class XSubCategoryProviderController : XSubCategoryProviderControllerBase, IXSubCategoryProviderController
public class SubCategoryProviderController : XSubCategoryProviderControllerBase, IXSubCategoryProviderController
{
public XSubCategoryProviderController(
ILogger<XSubCategoryProviderController> logger,
public SubCategoryProviderController(
ILogger<SubCategoryProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
@@ -1,20 +1,20 @@
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityService.Interfaces;
using xTagService.Controllers;
using xTagService.Interfaces;
using xCommons.Configurations;
using xTagService.Controllers;
using xIdentityService.Interfaces;
using xTagService.Models.Entities;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Query;
namespace xServices.Controllers
{
public class XTagProviderController : XTagProviderControllerBase, IXTagProviderController
public class TagProviderController : XTagProviderControllerBase, IXTagProviderController
{
public XTagProviderController(
ILogger<XTagProviderController> logger,
public TagProviderController(
ILogger<TagProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
@@ -1,17 +1,16 @@
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
using xCommons.Providers;
using xCommons.Configurations;
using xIdentityService.Interfaces;
using xTermsAndConditionsService.Controllers;
using Microsoft.Extensions.Logging;
using xTermsAndConditionsService.Interfaces;
using xTermsAndConditionsService.Providers;
using xTermsAndConditionsService.Controllers;
namespace xServices.Controllers
{
public class XTermsAndConditionsProviderController : XTermsAndConditionsControllerBase, IXTermsAndConditionsController
public class TermsAndConditionsProviderController : XTermsAndConditionsControllerBase, IXTermsAndConditionsController
{
public XTermsAndConditionsProviderController(
ILogger<XTermsAndConditionsProviderController> logger,
public TermsAndConditionsProviderController(
ILogger<TermsAndConditionsProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
@@ -1,20 +1,20 @@
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
using xCommons.Providers;
using xIdentityService.Interfaces;
using xServices.Base;
using xCommons.Providers;
using xServices.Interfaces;
using xCommons.Configurations;
using xServices.Models.Entities;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Query;
namespace xServices.Controllers
{
public class XTestProviderController : XTestProviderControllerBase, IXTestProviderController
public class TestProviderController : XTestProviderControllerBase, IXTestProviderController
{
public XTestProviderController(
ILogger<XTestProviderController> logger,
public TestProviderController(
ILogger<TestProviderController> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,