SOLUTION
I found the solution by myself. Thanks for all the responses, it helped me on the right way.
There was actually a pretty simple way of doing it.
I just changed my Command to a Async Method (public async void "MethodName") and if I wanted to do the ExecuteAbortCommand in the back, I just did this:
await Task.Run(() => {
ExecuteAbortSessionCommand();
});
It did the job for me. I hope it will help other people
SOLUTION
I found the solution by myself. Thanks for all the responses, it helped me on the right way.
There was actually a pretty simple way of doing it.
I just changed my Command to a Async Method (public async void "MethodName") and if I wanted to do the ExecuteAbortCommand in the back, I just did this:
await Task.Run(() => {
ExecuteAbortSessionCommand();
});
It did the job for me. I hope it will help other people