Esempio n. 1
0
 public async Task <List <PersonDTO> > GetPersons()
 {
     return(await HTTPHelper.HttpGet <List <PersonDTO> >("persons"));
 }
Esempio n. 2
0
 public async Task <PersonDTO> GetPerson(int id)
 {
     return(await HTTPHelper.HttpGet <PersonDTO>($"person/{id}"));
 }