Skip to content

Commit 11cdce3

Browse files
committed
Fix(F8): Remove variable row affected
1 parent 68f384d commit 11cdce3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Src/Core/F8/DataAccess/F8Repository.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ await _appContext
3838
try
3939
{
4040
// Remove list
41-
var rowsAffected = await _appContext
41+
await _appContext
4242
.Set<TodoTaskListEntity>()
4343
.Where(list => list.Id == listId)
4444
.ExecuteDeleteAsync(ct);
@@ -51,7 +51,7 @@ await _appContext
5151
.ForEachAsync(
5252
async taskId =>
5353
{
54-
rowsAffected = await _appContext
54+
await _appContext
5555
.Set<TodoTaskStepEntity>()
5656
.Where(taskStep => taskStep.TodoTaskId == taskId)
5757
.ExecuteDeleteAsync(ct);
@@ -60,7 +60,7 @@ await _appContext
6060
);
6161

6262
// Remove all tasks
63-
rowsAffected = await _appContext
63+
await _appContext
6464
.Set<TodoTaskEntity>()
6565
.Where(task => task.TodoTaskListId == listId)
6666
.ExecuteDeleteAsync(ct);

0 commit comments

Comments
 (0)