public async Task <IActionResult> ObtenerListaUsuarioxFiltro([FromQuery(Name = "nombres")] string nombres, [FromQuery(Name = "apellidos")] string apellidos) { valorPciId = User.FindFirst(ClaimTypes.Role).Value; if (!string.IsNullOrEmpty(valorPciId)) { pciId = int.Parse(valorPciId); } var datos = await _repo.ObtenerListaUsuarioxFiltro(pciId, nombres, apellidos); return(Ok(datos)); }