How often have you found yourself in a situation where you have some synchronous code where you would like to call an asynchronous method?
My guess is pretty often. Especially if you are working with legacy code and just starting to learn about async and await.
I am going to show you an example of such a situation and ways to deals with it.
Note: The sample code uses LightInject as the IoC container, but this example applies to all containers and even if you are doing "manual" dependency injection. Being the author of LightInject I felt it was a natural choice :)