public async Task <IActionResult> Post([FromBody] CandidateDetails details)
        {
            try
            {
                await _candidateService.CreateCandidateDetails(details);

                return(Ok());
            }
            catch (Exception e)
            {
                return(StatusCode(500, e.Message));
            }
        }