This commit is contained in:
2026-05-22 20:22:53 +03:30
parent 576ef22d6f
commit 362851e12e
6 changed files with 17 additions and 9 deletions
+2
View File
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
@@ -11,6 +12,7 @@ using xServices.Models.Entities;
namespace xServices.Controllers
{
[AllowAnonymous]
public partial class XTestRepositoryController : XBaseRepositoryController<XTest, Guid>, IXBaseRepositoryController<XTest, Guid>
{
public XTestRepositoryController(
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
@@ -13,6 +14,7 @@ using xServices.Providers;
namespace xServices.Controllers
{
[AllowAnonymous]
public class XTestRepositoryProviderController : XBaseRepositoryProviderController<XTest, Guid, XTestEntityHub>, IXBaseRepositoryProviderController<XTest, Guid, XTestEntityHub>
{
public XTestRepositoryProviderController(
@@ -21,8 +23,8 @@ namespace xServices.Controllers
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
IXTestRepositoryProvider provider,
Func<IQueryable<XTest>, IOrderedQueryable<XTest>> defaultOrderBuilder,
Func<IQueryable<XTest>, IIncludableQueryable<XTest, object>> defaultIncludeBuilder
Func<IQueryable<XTest>, IOrderedQueryable<XTest>> defaultOrderBuilder = null,
Func<IQueryable<XTest>, IIncludableQueryable<XTest, object>> defaultIncludeBuilder = null
) : base(
logger,
appConfiguration,
+2
View File
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
@@ -12,6 +13,7 @@ using xServices.Models.Entities;
namespace xServices.Controllers
{
[AllowAnonymous]
public class XTestServiceController : XBaseServiceController<XTest, XTestDto, Guid>, IXBaseServiceController<XTest, XTestDto, Guid>
{
public XTestServiceController(
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.Extensions.Logging;
using xCommons.Configurations;
@@ -14,6 +15,7 @@ using xServices.Providers;
namespace xServices.Controllers
{
[AllowAnonymous]
public class XTestServiceProviderController : XBaseServiceProviderController<XTest, XTestDto, Guid, XTestDtoHub>, IXBaseServiceProviderController<XTest, XTestDto, Guid, XTestDtoHub>
{
public XTestServiceProviderController(
@@ -22,8 +24,8 @@ namespace xServices.Controllers
IXIdentityProvider identityProvider,
XValidationProvider validationProvider,
IXTestServiceProvider provider,
Func<IQueryable<XTest>, IOrderedQueryable<XTest>> defaultOrderBuilder,
Func<IQueryable<XTest>, IIncludableQueryable<XTest, object>> defaultIncludeBuilder
Func<IQueryable<XTest>, IOrderedQueryable<XTest>> defaultOrderBuilder = null,
Func<IQueryable<XTest>, IIncludableQueryable<XTest, object>> defaultIncludeBuilder = null
) : base(
logger,
appConfiguration,