public async Task <IActionResult> GetAllProducts( [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req, ILogger log) { return(new OkObjectResult(await _checkoutService.GetAllProducts())); }
public async Task <IActionResult> GetAllProducts( [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req, ILogger log) { return(new OkObjectResult(await _checkoutService.GetAllProducts())); }