Created
April 15, 2019 01:01
-
-
Save yuka1984/316a00330ae00548c491b6c525953398 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
[FunctionName("Api_AddItems")] | |
public async Task<IActionResult> Create( | |
[HttpTrigger(AuthorizationLevel.Function, "post", "product")] | |
[RequestBodyType(typeof(ProductCreateRequest), "product request")]HttpRequest request) | |
{ | |
return new OkObjectResult(new ProductModel()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment