コード例 #1
0
        public async Task <IActionResult> UpdateIngredient(UpdateIngredientViemModel vm)
        {
            await _ingredientServices.UpdateAsync(vm.ID, vm.NewName);

            return(View("ManageIngredients"));
        }