public Task <IEnumerable <HistoryRecord> > FindAsync(HistoryAndNotesEndpointRetrieveType type, Guid parent) { return(Client.GetAsync <HistoryRecord, HistoryRecordsResponse>($"api.xro/2.0/{type}/{parent:D}/history")); }
public IEnumerable <HistoryRecord> Find(HistoryAndNotesEndpointRetrieveType type, Guid parent) { return(Client.Get <HistoryRecord, HistoryRecordsResponse>(string.Format("api.xro/2.0/{0}/{1:D}/history", type, parent))); }