示例#1
0
 public async Task <bool> SavePerson(PersonDTO person)
 {
     return(await HTTPHelper.HttpPost <PersonDTO>(_baseUrl, "people", person));
 }
示例#2
0
 public async Task <List <PersonDTO> > GetPersons()
 {
     return(await HTTPHelper.HttpGet <List <PersonDTO> >(_baseUrl, "people"));
 }