GetExpersCompany
GetGroupsCompany
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
{
|
||||
parameters.Add("OnMultipleOfThree", EventCallback.Factory.Create(this, CallBack));
|
||||
|
||||
if (!(await localStorageService.GetItem<List<string>>("Role")).Any(a => a == "HushianManagerCompany"))
|
||||
if (await localStorageService.GetItem<string>("C/Role") != "Company")
|
||||
navigationManager.NavigateTo("/NotFound");
|
||||
await base.OnInitializedAsync();
|
||||
}
|
||||
|
Reference in New Issue
Block a user