Browse Source

Update Part-3.md

Removing @ from @() => GetDeleteConfirmationMessage(context) as it is wrong and doesn't need an @ at the front of ()
pull/6620/head
vnetonline 5 years ago
committed by GitHub
parent
commit
a5f6a46227
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/Tutorials/Part-3.md

2
docs/en/Tutorials/Part-3.md

@ -1386,7 +1386,7 @@ Open the `Books.razor` page and add the following `EntityAction` under the "Edit
<EntityAction TItem="BookDto"
Text="@L["Delete"]"
Clicked="() => DeleteEntityAsync(context)"
ConfirmationMessage="@() => GetDeleteConfirmationMessage(context)" />
ConfirmationMessage="() => GetDeleteConfirmationMessage(context)" />
````
* `DeleteEntityAsync` is defined in the base class that deletes the entity by performing a call to the server.

Loading…
Cancel
Save