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