markjprice / cs12dotnet8

Repository for the Packt Publishing book titled "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
564 stars 164 forks source link

UpdateCustomerAsync in INorthwindService does not need to return any result #22

Open codehedgehog opened 6 months ago

codehedgehog commented 6 months ago

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.

markjprice commented 6 months ago

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.