コード例 #1
0
        public async Task <IActionResult> SearchByName(string searchName)
        {
            var recipes = await _recipeService.BrowseAsyncName(searchName);

            await _recipeService.GetAllRecipeAsync();

            return(Json(recipes));
        }