Skip to content

Commit 9309fcf

Browse files
committed
Change the MethodRequest to match the IMethodRequest for the return type
1 parent 781dd6f commit 9309fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Templates/CSharp/Requests/MethodRequest.cs.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ namespace <#=method.Namespace.GetNamespaceName()#>
298298
/// </summary>
299299
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object set with the properties to update.</param>
300300
/// <returns>The task to await for async call.</returns>
301-
public <#=methodReturnType#> PatchAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
301+
public <#=methodOverloadReturnType#> PatchAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
302302
{
303303
return this.PatchAsync(<#=returnEntityParameter#>, CancellationToken.None);
304304
}
@@ -399,7 +399,7 @@ namespace <#=method.Namespace.GetNamespaceName()#>
399399
/// </summary>
400400
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object to update.</param>
401401
/// <returns>The task to await for async call.</returns>
402-
public <#=methodReturnType#> PutAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
402+
public <#=methodOverloadReturnType#> PutAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
403403
{
404404
return this.PutAsync(<#=returnEntityParameter#>, CancellationToken.None);
405405
}

0 commit comments

Comments
 (0)