38 lines
1.3 KiB
C#
38 lines
1.3 KiB
C#
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
|
|
)
|
|
{ }
|
|
}
|
|
} |