Created
July 15, 2019 07:58
-
-
Save ducmeit1/58a8ee039d34418e1dbe51adf10d2a13 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
[AllowAnonymous] | |
[HttpPost] | |
public async Task<IHttpActionResult> Register ([FromBody] CreateUserCommand command) { | |
return Ok (await new CommandAsync (command)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment