Created
April 15, 2019 00:57
-
-
Save yuka1984/7f46adc8f0957722051edbbe05030a41 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
[ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(ProductModel[]))] | |
[ProducesResponseType((int)HttpStatusCode.InternalServerError, Type = typeof(Error))] | |
[FunctionName("Api_GetItems")] | |
public async Task<IActionResult> GetItems( | |
[HttpTrigger(AuthorizationLevel.Function, "get", "product")]HttpRequest request) | |
{ | |
return new OkObjectResult(new List<ProductModel>()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment