public async Task <IActionResult> CustomerLinkedToPolicieAsync([FromQuery] Guid id, CancellationToken cancellationToken) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var request = new PolicyRequest { Id = id }; var customer = await _customerServices.GetCustomerLinkedToPolicyByNumberAsync(request, cancellationToken); if (customer == null) { return(NoContent()); } return(Ok(customer)); }