public async Task <IActionResult> List() { var response = await _personGroupService.List(); if (response.IsSuccessStatusCode) { return(new OkObjectResult(response.ResponseBody)); } return(new BadRequestObjectResult(response.ResponseStatusCode)); }