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,33 @@
using System;
using System.Linq;
using xCommons.Providers;
using xCommons.Configurations;
using xDataService.Interfaces;
using xDataService.Controllers;
using Microsoft.Extensions.Logging;
using xContentService.Models.Entities;
using Microsoft.EntityFrameworkCore.Query;
using xContentService.Interfaces.Entities;
namespace xContentService.Controllers
{
public abstract class XContentRepositoryControllerBase : XBaseRepositoryController<XContent, Guid>, IXBaseRepositoryController<XContent, Guid>
{
protected XContentRepositoryControllerBase(
ILogger<XContentRepositoryControllerBase> logger,
XAppConfiguration appConfiguration,
XValidationProvider validationProvider,
IXContentRepository repository,
Func<IQueryable<XContent>, IOrderedQueryable<XContent>> defaultOrderBuilder = null,
Func<IQueryable<XContent>, IIncludableQueryable<XContent, object>> defaultIncludeBuilder = null
) : base(
logger,
appConfiguration,
validationProvider,
repository,
defaultOrderBuilder,
defaultIncludeBuilder
)
{ }
}
}