public ActionResult <JobApplicationDto> CreateJobApplication([FromBody] CreateJobApplicationDto jobApplicationDto) { var newJobApplication = _jobApplicationMapper.ToDto( _jobApplicationService.AddJobApplication( _jobApplicationMapper.ToNewDomain(jobApplicationDto))); return(Created($"api/jobapplications/{newJobApplication.Id}", newJobApplication)); }