I am trying to use dialog service in class file. I have a wrapper service result model and I want to show a dialog if any error occurs but I cant use it. I dont know the way to use the dialog sevice in another or use it as static
I thank you for your anwser but I think that I wasnt cleared. I want to use the Dialog service in a another service, lets say inside a wrapper. example
You can use it in whatever place, however you need to inject it as shown in my previous reply. You can read also about Blazor Dependency Injection here: