Last active
March 31, 2017 11:13
-
-
Save Maarten88/ec7966bb3ac8debf329724db96962591 to your computer and use it in GitHub Desktop.
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
[HttpPost("~/incrementcounter")] | |
public async Task<ActionResult> IncrementCounter() | |
{ | |
var grain = GrainClient.GrainFactory.GetGrain<ICounterGrain>(this.sessionId); | |
await grain.IncrementCounter(); | |
return Ok(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment