41 lines
1.6 KiB
C#
41 lines
1.6 KiB
C#
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
|
|
)
|
|
{ }
|
|
}
|
|
} |