public static Task <Deal> GetAsync(this IHubSpotDealConnector connector, IDealSelector selector) => connector.GetAsync <Deal>(selector);
Ejemplo n.º 2
0
 public static Task <TDeal> GetByIdAsync <TDeal>(this IHubSpotDealConnector connector, long dealId) where TDeal : Deal, new()
 => connector.GetAsync <TDeal>(SelectDeal.ById(dealId));