Fix inconsistent generic constraints in AsyncCrudAppService

See #964
pull/965/head
Enes Sadık Özbek 6 years ago committed by GitHub
parent bf17712ae8
commit eb4183ce2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,10 +34,8 @@ namespace Volo.Abp.Application.Services
public abstract class AsyncCrudAppService<TEntity, TEntityDto, TKey, TGetAllInput, TCreateInput> public abstract class AsyncCrudAppService<TEntity, TEntityDto, TKey, TGetAllInput, TCreateInput>
: AsyncCrudAppService<TEntity, TEntityDto, TKey, TGetAllInput, TCreateInput, TCreateInput> : AsyncCrudAppService<TEntity, TEntityDto, TKey, TGetAllInput, TCreateInput, TCreateInput>
where TGetAllInput : IPagedAndSortedResultRequest
where TEntity : class, IEntity<TKey> where TEntity : class, IEntity<TKey>
where TEntityDto : IEntityDto<TKey> where TEntityDto : IEntityDto<TKey>
where TCreateInput : IEntityDto<TKey>
{ {
protected AsyncCrudAppService(IRepository<TEntity, TKey> repository) protected AsyncCrudAppService(IRepository<TEntity, TKey> repository)
: base(repository) : base(repository)

Loading…
Cancel
Save