public async Task <IActionResult> DeletePerson(TipoDocumento tipoDocumento, string documento, Pais pais, Sexo sexo) { ServiceResponse <List <PersonaDto> > response = await _personaService.DeletePerson(ConvertToGetPersonaDto(tipoDocumento, documento, pais, sexo)); if (response.Data == null) { return(NotFound(response)); } return(Ok(response)); }