diff --git a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs index d8ccce3b73..672d85a2be 100644 --- a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs +++ b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/CrudAppService.cs @@ -11,7 +11,6 @@ namespace Volo.Abp.Application.Services; public abstract class CrudAppService : CrudAppService where TEntity : class, IEntity - where TEntityDto : IEntityDto { protected CrudAppService(IRepository repository) : base(repository) @@ -23,7 +22,6 @@ public abstract class CrudAppService public abstract class CrudAppService : CrudAppService where TEntity : class, IEntity - where TEntityDto : IEntityDto { protected CrudAppService(IRepository repository) : base(repository) @@ -35,7 +33,6 @@ public abstract class CrudAppService public abstract class CrudAppService : CrudAppService where TEntity : class, IEntity - where TEntityDto : IEntityDto { protected CrudAppService(IRepository repository) : base(repository) @@ -47,7 +44,6 @@ public abstract class CrudAppService : CrudAppService where TEntity : class, IEntity - where TEntityDto : IEntityDto { protected CrudAppService(IRepository repository) : base(repository) @@ -69,8 +65,6 @@ public abstract class CrudAppService : AbstractKeyCrudAppService where TEntity : class, IEntity - where TGetOutputDto : IEntityDto - where TGetListOutputDto : IEntityDto { protected new IRepository Repository { get; } diff --git a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs index b81455e1bb..abc8299aef 100644 --- a/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs +++ b/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ReadOnlyAppService.cs @@ -11,7 +11,6 @@ namespace Volo.Abp.Application.Services; public abstract class ReadOnlyAppService : ReadOnlyAppService where TEntity : class, IEntity - where TEntityDto : IEntityDto { protected ReadOnlyAppService(IReadOnlyRepository repository) : base(repository) @@ -22,8 +21,7 @@ public abstract class ReadOnlyAppService public abstract class ReadOnlyAppService : ReadOnlyAppService - where TEntity : class, IEntity - where TEntityDto : IEntityDto + where TEntity : class, IEntity { protected ReadOnlyAppService(IReadOnlyRepository repository) : base(repository) @@ -34,9 +32,7 @@ public abstract class ReadOnlyAppService : AbstractKeyReadOnlyAppService - where TEntity : class, IEntity - where TGetOutputDto : IEntityDto - where TGetListOutputDto : IEntityDto + where TEntity : class, IEntity { protected IReadOnlyRepository Repository { get; }