public async Task <IActionResult> UpdateEpaContactValidate([FromBody] UpdateEpaOrganisationContactValidationRequest request)
        {
            try
            {
                _logger.LogInformation("Validation of updating new contact");
                var result = await _mediator.Send(request);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                _logger.LogError($@"Bad request, Message: [{ex.Message}]");
                return(BadRequest(ex));
            }
        }
        public async Task <ValidationResponse> ValidateUpdateContact(string contactId, string firstName, string lastName, string email, string phoneNumber)
        {
            var validationRequest = new UpdateEpaOrganisationContactValidationRequest
            {
                ContactId   = contactId,
                FirstName   = firstName,
                LastName    = lastName,
                Email       = email,
                PhoneNumber = phoneNumber
            };

            using (var request = new HttpRequestMessage(HttpMethod.Put, $"/api/ao/assessment-organisations/contacts/validate-existing/"))
            {
                return(await PostPutRequestWithResponse <UpdateEpaOrganisationContactValidationRequest, ValidationResponse>(request,
                                                                                                                            validationRequest));
            }
        }