Skip to content

Conversation

ilonatommy
Copy link
Member

The expectation of the template was that lines of code after each navigation won't be executed.

Description

  • Add missing returns
  • Or use else blocks
  • Remove one return that was not needed and looked awkward.

Fixes https://github.com/dotnet/AspNetCore-ManualTests/issues/3657

@ilonatommy ilonatommy added this to the 10.0-preview6 milestone May 26, 2025
@ilonatommy ilonatommy requested a review from javiercn May 26, 2025 10:33
@ilonatommy ilonatommy self-assigned this May 26, 2025
@github-actions github-actions bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label May 26, 2025
@ilonatommy ilonatommy added area-blazor Includes: Blazor, Razor Components and removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 26, 2025
@ilonatommy ilonatommy enabled auto-merge (squash) May 26, 2025 10:50
@ilonatommy ilonatommy merged commit 3bb7795 into dotnet:main May 26, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants