Skip to content

Commit d9e5c8c

Browse files
authored
Merge pull request #127184 from Ahmadzia307/patch-1
Update durable-functions-dotnet-entities.md
2 parents 75e9079 + b12230c commit d9e5c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/durable/durable-functions-dotnet-entities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ public class Counter : TaskEntity<int>
122122
this.logger = logger;
123123
}
124124

125-
public int Add(int amount)
125+
public void Add(int amount)
126126
{
127127
this.State += amount;
128128
}
129129

130-
public Reset()
130+
public Task Reset()
131131
{
132132
this.State = 0;
133133
return Task.CompletedTask;

0 commit comments

Comments
 (0)