/// <summary> /// Get Current Project Languages /// </summary> /// <returns></returns> public static List <string> GetProjectLanguages(IClient client) { var command = new GetProjectCommand(); var project = client.ExecuteAsync(command).Result; return(project.Languages.ToList()); }
/// <summary> /// Get Current Project Languages /// </summary> /// <returns></returns> public List <string> GetProjectLanguages() { IClient commerceToolsClient = this.GetService <IClient>(); var command = new GetProjectCommand(); var project = commerceToolsClient.ExecuteAsync(new GetProjectCommand()).Result; return(project.Languages.ToList()); }