示例#1
0
 public Task <IEnumerable <HistoryRecord> > FindAsync(HistoryAndNotesEndpointRetrieveType type, Guid parent)
 {
     return(Client.GetAsync <HistoryRecord, HistoryRecordsResponse>($"api.xro/2.0/{type}/{parent:D}/history"));
 }
示例#2
0
 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)));
 }