Created
July 23, 2019 14:59
-
-
Save JeremyLikness/505b7cfa2a11bd08f915d1d0d7da05ce to your computer and use it in GitHub Desktop.
Returning the aggregate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var userCount = await client.ReadEntityStateAsync<int>( | |
| UserCounter.Id); | |
| return new OkObjectResult(new | |
| { | |
| ... | |
| activeUsers = userCount.EntityState, | |
| ... | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment