public Response CreateApplicant(ApplicantModel applicant)
        {
            _logger.LogInformation("Request Made to CreateApplicant: ", applicant.ToString());
            Response response = _utilities.InitializeResponse();

            try
            {
                _applicantRepository.InsertApplicant(applicant);
                _applicantRepository.Save();
            }
            catch (Exception ex)
            {
                return(_utilities.CatchException(ex, response));
            }

            var applicantUrl = _configuration.GetSection("AppBaseUrl").Value;

            response.Data = applicantUrl + applicant.ID;

            _logger.LogInformation($"Successfully created applicant {applicant.ID}");
            return(response);
        }
        public int RegisterApplicant(Request <Dto.Model.Applicant> applicantRequest)
        {
            var result = _applicantRepository.InsertApplicant(applicantRequest.Data.MapToData());

            return(result);
        }