In the code below, due to the interface, the class LazyBar must return a task from its method (and for argument\'s sake can\'t be changed). If LazyBar
LazyBar
When you must return specified type:
Task.FromResult(null);