refactor renew ...

This commit is contained in:
2026-05-07 12:55:27 +03:30
parent 5d16ef7382
commit 35e1e08d50
2 changed files with 148 additions and 89 deletions
+4
View File
@@ -51,12 +51,14 @@ namespace xPushService.Interfaces
/// <param name="id"></param>
/// <param name="item"></param>
/// <param name="saveChanges"></param>
/// <param name="connectionId"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
Task<TDto> UpdateAsync(
TKey id,
TDto item,
bool saveChanges = true,
string connectionId = null,
CancellationToken cancellationToken = default
);
@@ -66,12 +68,14 @@ namespace xPushService.Interfaces
/// <param name="id"></param>
/// <param name="softDelete"></param>
/// <param name="saveChanges"></param>
/// <param name="connectionId"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
Task<TDto> RemoveAsync(
TKey id,
bool softDelete = true,
bool saveChanges = true,
string connectionId = null,
CancellationToken cancellationToken = default
);