/// <summary> /// Add reference to adoxio_workers /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='contactId'> /// key: adoxio_workerid /// </param> /// <param name='fieldname'> /// key: fieldname /// </param> /// <param name='odataid'> /// reference value /// </param> public static void AddReference(this IContacts operations, string contactId, string fieldname, Odataid odataid = default(Odataid)) { operations.AddReferenceAsync(contactId, fieldname, odataid).GetAwaiter().GetResult(); }