Created
April 5, 2019 09:56
-
-
Save btodts/4fa403c32f05621ac4daa7b05df67df7 to your computer and use it in GitHub Desktop.
This file contains 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] | |
public async Task<IActionResult> Post(Guid id, string name) | |
{ | |
Guard.GuidNotEmpty(id, nameof(id)); | |
Guard.StringNotNullOrEmpty(name, nameof(name)); | |
// handle the request | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment