diff --git a/src/Volo.Abp.Ddd/Volo/Abp/DependencyInjection/ICommonDbContextRegistrationOptionsBuilder.cs b/src/Volo.Abp.Ddd/Volo/Abp/DependencyInjection/ICommonDbContextRegistrationOptionsBuilder.cs index 167fbcad47..f15509dfbe 100644 --- a/src/Volo.Abp.Ddd/Volo/Abp/DependencyInjection/ICommonDbContextRegistrationOptionsBuilder.cs +++ b/src/Volo.Abp.Ddd/Volo/Abp/DependencyInjection/ICommonDbContextRegistrationOptionsBuilder.cs @@ -41,7 +41,7 @@ namespace Volo.Abp.DependencyInjection /// /// Entity type /// Repository type - ICommonDbContextRegistrationOptionsBuilder AddCustomRepository(); + ICommonDbContextRegistrationOptionsBuilder AddCustomRepository(); //TODO: Rename to AddRepository! /// /// Uses given class(es) for default repositories. diff --git a/src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/IRepository.cs b/src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/IRepository.cs index fd4f41b03f..2af29b9cbc 100644 --- a/src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/IRepository.cs +++ b/src/Volo.Abp.Ddd/Volo/Abp/Domain/Repositories/IRepository.cs @@ -112,27 +112,27 @@ namespace Volo.Abp.Domain.Repositories /// Deletes an entity. /// /// Entity to be deleted - void Delete([NotNull] TEntity entity); + void Delete([NotNull] TEntity entity); //TODO: Return true if deleted /// /// Deletes an entity. /// /// A to observe while waiting for the task to complete. /// Entity to be deleted - Task DeleteAsync([NotNull] TEntity entity, CancellationToken cancellationToken = default); + Task DeleteAsync([NotNull] TEntity entity, CancellationToken cancellationToken = default); //TODO: Return true if deleted /// /// Deletes an entity by primary key. /// /// Primary key of the entity - void Delete(TPrimaryKey id); + void Delete(TPrimaryKey id); //TODO: Return true if deleted /// /// Deletes an entity by primary key. /// /// A to observe while waiting for the task to complete. /// Primary key of the entity - Task DeleteAsync(TPrimaryKey id, CancellationToken cancellationToken = default); + Task DeleteAsync(TPrimaryKey id, CancellationToken cancellationToken = default); //TODO: Return true if deleted /// /// Get list of all entities without any filtering.