Add MainService for state management and update Index and AuthDialog to utilize it

This commit is contained in:
masoodafar-web
2025-11-20 21:07:05 +03:30
parent 30bac23114
commit 973beb9e2f
5 changed files with 47 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ builder.Services.AddServerSideBlazor();
#region AddCommonServices
builder.Services.AddCommonServices();
builder.Services.AddSingleton<MainService>();
#endregion
#region AddGrpcServices