Skip to content

Commit 446dad3

Browse files
committed
fix: processed milous comments
1 parent 67ddff6 commit 446dad3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/JsonApiDotNetCore/Data/IEntityWriteRepository.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public interface IEntityWriteRepository<TEntity, in TId>
2626

2727
Task<bool> DeleteAsync(TEntity entity);
2828

29-
[Obsolete("Use overload DeleteAsync(TEntity entity) instead")]
3029
Task<bool> DeleteAsync(TId id);
3130
}
3231
}

src/JsonApiDotNetCore/Services/EntityResourceService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public EntityResourceService(
3232
IEntityRepository<TResource, TId> entityRepository,
3333
IResourceHookExecutor hookExecutor = null,
3434
ILoggerFactory loggerFactory = null) :
35-
base(jsonApiContext, entityRepository, hookExecutor, loggerFactory)
35+
base(jsonApiContext, entityRepository, loggerFactory, hookExecutor)
3636
{ }
3737
}
3838

@@ -50,8 +50,8 @@ public class EntityResourceService<TResource, TEntity, TId> :
5050
public EntityResourceService(
5151
IJsonApiContext jsonApiContext,
5252
IEntityRepository<TEntity, TId> entityRepository,
53-
IResourceHookExecutor hookExecutor,
54-
ILoggerFactory loggerFactory = null)
53+
ILoggerFactory loggerFactory = null,
54+
IResourceHookExecutor hookExecutor = null)
5555
{
5656
// no mapper provided, TResource & TEntity must be the same type
5757
if (typeof(TResource) != typeof(TEntity))

0 commit comments

Comments
 (0)