UpdateCustomerAsync does not need to return any result (similar with DeleteCustomerAsync). This is in sync with the Update function in CustomerController in Northwind.WebApi.
Also, modified @attribute [RenderModeAuto] to @rendermode InteractiveAuto as in .NET 8 release.
Readers are welcome to raise an issue to make a suggestion for a change to future editions but the code in this respository must match the code shown in the print book. Only compile errors will be fixed.
UpdateCustomerAsync
does not need to return any result (similar withDeleteCustomerAsync
). This is in sync with theUpdate
function inCustomerController
inNorthwind.WebApi
.Also, modified
@attribute [RenderModeAuto]
to@rendermode InteractiveAuto
as in .NET 8 release.