public async Task CreateAssociation(int from, int to, string type, JObject attributes = null) { await _source.CreateAssociation(from, to, type, attributes); GetAssociationCache(type).Delete(from); }