Browse Source

Update namespace selection in Blazor tutorial

Adjusted the namespace declaration in the Blazor tutorial to conditionally use 'TodoApp.Pages' for Blazor UI and 'TodoApp.Components.Pages' otherwise. This clarifies the correct namespace usage based on the UI framework.
pull/24235/head
enisn 3 months ago
parent
commit
ae8999a65e
No known key found for this signature in database GPG Key ID: A052619F04155D1C
  1. 4
      docs/en/tutorials/todo/single-layer/index.md

4
docs/en/tutorials/todo/single-layer/index.md

@ -580,7 +580,11 @@ using TodoApp.Services;
using TodoApp.Services.Dtos;
{{end}}
{{if UI=="Blazor"}}
namespace TodoApp.Pages;
{{else}}
namespace TodoApp.Components.Pages;
{{end}}
public partial class Index
{

Loading…
Cancel
Save