Esempio n. 1
0
        public async Task <IActionResult> GetAllRestaurants(
            [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)]
            HttpRequest req)
        {
            var entities = await _cloudTableRepository.GetAllRestaurantsAsync();

            return(new OkObjectResult(entities));
        }