public static async Task<List<string>> Filter(string query, IDictionary<string, string> args = null) { var request = new GraphFilterRequest() { Query = query, Placeholders = args }; var response = await request.ExecuteAsync(); if (response.Status.IsSuccessful == false) throw response.Status.ToFault(); return response.Ids ?? new List<string>(); }
public static async Task <List <string> > Filter(string query, IDictionary <string, string> args = null) { var request = new GraphFilterRequest() { Query = query, Placeholders = args }; var response = await request.ExecuteAsync(); if (response.Status.IsSuccessful == false) { throw response.Status.ToFault(); } return(response.Ids ?? new List <string>()); }