public ActionResult Post([FromBody] JobApplication application)
 {
     try
     {
         if (ModelState.IsValid)
         {
             _jobApplicationService.CreateApplication(application);
             var jobAppDTO = new JobApplicationDTO();
             mapJobApplication(application, jobAppDTO);
             return(Created("", jobAppDTO));
         }
         else
         {
             return(BadRequest(ModelState));
         }
     }
     catch
     {
         // log here
         return(StatusCode(StatusCodes.Status500InternalServerError, "An error has occurred when trying to POST the Job Application. It has been logged and is being looked into"));
     }
 }