Intercept the call to an async method using DynamicProxy
Presumably the “problem” is that it’s just logging that it’s returning a task – and you want the value within that task? Assuming that’s the case, you still have to return the task to the caller, immediately – without waiting for it to complete. If you break that, you’re fundamentally messing things up. However, before … Read more