public Task SomeAction(SomeActionArgs args) { return Task.Factory.StartNew(() => { InvokeCount++; }); } }