コード例 #1
0
 public async Task UpdateAsync(PersonEventRelation personEventRelation)
 {
     var address = string.Format("{0}/{1}", UPDATE_URL, personEventRelation.PersonEventRelationId);
     await HttpClientUtils.PostJsonNoReturnAsync <PersonEventRelation>(address, personEventRelation);
 }
コード例 #2
0
 public async Task UpdateAsync(FamousPerson famousePerson)
 {
     var address = string.Format("{0}/{1}", UPDATE_URL, famousePerson.FamousPersonId);
     await HttpClientUtils.PostJsonNoReturnAsync <FamousPerson>(address, famousePerson);
 }
コード例 #3
0
 public async Task UpdateAsync(HistoryEvent historyEvent)
 {
     var address = string.Format("{0}/{1}", UPDATE_URL, historyEvent.HistoryEventId);
     await HttpClientUtils.PostJsonNoReturnAsync <HistoryEvent>(address, historyEvent);
 }