I found a problem with the authorization attributes in the blazor. I wrote a class for working with roles in attributes in order to pass them through parameters.
Firs