Beispiel #1
0
 public async Task <ObservableCollection <FamousPerson> > SearchAsync(PersonSearchModel searchModel)
 {
     return(await HttpClientUtils.PostJsonAsync <PersonSearchModel, ObservableCollection <FamousPerson> >(SEARCH_URL, searchModel));
 }
Beispiel #2
0
 public async Task <FamousPerson> SaveAsync(FamousPerson famousePerson)
 {
     return(await HttpClientUtils.PostJsonAsync <FamousPerson, FamousPerson>(SAVE_URL, famousePerson));
 }
 public async Task <ObservableCollection <HistoryEvent> > SearchAsync(EventSearchModel searchModel)
 {
     return(await HttpClientUtils.PostJsonAsync <EventSearchModel, ObservableCollection <HistoryEvent> >(SEARCH_URL, searchModel));
 }
Beispiel #4
0
 public async Task <PersonEventRelation> SaveAsync(PersonEventRelation personEventRelation)
 {
     return(await HttpClientUtils.PostJsonAsync <PersonEventRelation, PersonEventRelation>(SAVE_URL, personEventRelation));
 }
 public async Task <HistoryEvent> SaveAsync(HistoryEvent historyEvent)
 {
     return(await HttpClientUtils.PostJsonAsync <HistoryEvent, HistoryEvent>(SAVE_URL, historyEvent));
 }