diff --git a/DragonFruit.Six.Api/Utils/OperatorData.cs b/DragonFruit.Six.Api/Utils/OperatorData.cs index 86f76bc2..fa4bd274 100644 --- a/DragonFruit.Six.Api/Utils/OperatorData.cs +++ b/DragonFruit.Six.Api/Utils/OperatorData.cs @@ -2,6 +2,7 @@ // Licensed under Apache-2. Please refer to the LICENSE file for more info using System.Collections.Generic; +using System.Threading.Tasks; using DragonFruit.Common.Data; using DragonFruit.Common.Data.Services; using DragonFruit.Six.Api.Entities; @@ -28,5 +29,15 @@ public static IEnumerable GetOperatorInfo(this ApiClient client) var request = new OperatorDataRequest(null); return client.Perform>(request); } + + /// + /// Gets the needed to use the + /// + /// The to use + public static Task> GetOperatorInfoAsync(this ApiClient client) + { + var request = new OperatorDataRequest(null); + return client.PerformAsync>(request); + } } }