public static Task <IReadOnlyList <Deal> > FindAsync(this IHubSpotDealConnector connector, IDealFilter filter) => connector.FindAsync <Deal>(filter);
public static Task <Deal> SaveAsync(this IHubSpotDealConnector connector, Deal deal) => connector.SaveAsync(deal);
public static Task <Deal> GetByIdAsync(this IHubSpotDealConnector connector, long dealId) => GetByIdAsync <Deal>(connector, dealId);
public static Task <Deal> GetAsync(this IHubSpotDealConnector connector, IDealSelector selector) => connector.GetAsync <Deal>(selector);
public static Task <TDeal> GetByIdAsync <TDeal>(this IHubSpotDealConnector connector, long dealId) where TDeal : Deal, new() => connector.GetAsync <TDeal>(SelectDeal.ById(dealId));