diff --git a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
index 19b60adae9f..45316e679fa 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/ApiClient.mustache
@@ -7,7 +7,6 @@ using System.Web;
using System.Linq;
using System.Net;
using System.Text;
-using System.Threading.Tasks;
using Newtonsoft.Json;
using RestSharp;
using RestSharp.Extensions;
@@ -111,7 +110,7 @@ namespace {{packageName}}.Client
/// File parameters.
/// Authentication settings.
/// The Task instance.
- public async Task