public static async Task CreateAssociation(this IGraphDataWrite client, int from, int to, string typeFromTo, string typeToFrom) { await client.CreateAssociation(from, to, typeFromTo); await client.CreateAssociation(to, from, typeToFrom); }
public static Task CreateAssociation(this IGraphDataWrite client, int from, int to, string type) { return(client.CreateAssociation(from, to, type, new JObject())); }