add requirements in Content Service ...
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using xCommons.Providers;
|
||||
using xCommons.Configurations;
|
||||
using xDataService.Interfaces;
|
||||
using xDataService.Controllers;
|
||||
using xContentService.Models.Dtos;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using xContentService.Models.Entities;
|
||||
using xContentService.Interfaces.Dtos;
|
||||
using Microsoft.EntityFrameworkCore.Query;
|
||||
|
||||
namespace xContentService.Controllers
|
||||
{
|
||||
public abstract class XContentServiceControllerBase : XBaseServiceController<XContent, XContentDto, Guid>, IXBaseServiceController<XContent, XContentDto, Guid>
|
||||
{
|
||||
protected XContentServiceControllerBase(
|
||||
ILogger<XContentServiceControllerBase> logger,
|
||||
XAppConfiguration appConfiguration,
|
||||
XValidationProvider validationProvider,
|
||||
IXContentRepositoryService repositoryService,
|
||||
Func<IQueryable<XContent>, IOrderedQueryable<XContent>> defaultOrderBuilder = null,
|
||||
Func<IQueryable<XContent>, IIncludableQueryable<XContent, object>> defaultIncludeBuilder = null
|
||||
) : base(
|
||||
logger,
|
||||
appConfiguration,
|
||||
validationProvider,
|
||||
repositoryService,
|
||||
defaultOrderBuilder,
|
||||
defaultIncludeBuilder
|
||||
)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user