add requirements in Content Service ...

This commit is contained in:
2026-09-05 10:24:19 +03:30
parent 903703dca0
commit 5739b968aa
10 changed files with 953 additions and 5 deletions
@@ -0,0 +1,41 @@
using System;
using System.Linq;
using xCommons.Providers;
using xTagService.Interfaces;
using xCommons.Configurations;
using xPushService.Interfaces;
using xTagService.Controllers;
using xContentService.Models.Dtos;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using xContentService.Providers.Dtos;
using xContentService.Models.Entities;
using Microsoft.EntityFrameworkCore.Query;
using xContentService.Interfaces.Controllers;
namespace xContentService.Controllers
{
public abstract class XControllerProviderControllerBase : XBaseProvidedHasTagControllerBase<XContent, XContentDto, Guid, XContentDtoHub>, IXContentProviderController
{
protected XControllerProviderControllerBase(
ILogger<XBaseProvidedHasTagControllerBase<XContent, XContentDto, Guid, XContentDtoHub>> logger,
XAppConfiguration appConfiguration,
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
IXBaseProvided<XContent, XContentDto, Guid, XContentDtoHub> provider,
IXTagProvided<XContent, XContentDto, Guid, XContentDtoHub> 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
)
{ }
}
}