Update C# template to support async invoke methods.
Update the client method template in Java.