public static Task <Contact> GetAsync(this IHubSpotContactConnector connector, IContactSelector selector) => connector.GetAsync <Contact>(selector);
Exemple #2
0
 public static Task <TContact> GetByEmailAsync <TContact>(this IHubSpotContactConnector connector, string email) where TContact : Contact, new()
 => connector.GetAsync <TContact>(SelectContact.ByEmail(email));
Exemple #3
0
 public static Task <TContact> GetByUserTokenAsync <TContact>(this IHubSpotContactConnector connector, string userToken) where TContact : Contact, new()
 => connector.GetAsync <TContact>(SelectContact.ByUserToken(userToken));
Exemple #4
0
 public static Task <TContact> GetByIdAsync <TContact>(this IHubSpotContactConnector connector, long contactId) where TContact : Contact, new()
 => connector.GetAsync <TContact>(SelectContact.ById(contactId));