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