public async Task <ActionResult> Put(Guid id, [FromBody] JobApplicationDTO applicationDTO)
        {
            if (id != applicationDTO.Id)
            {
                return(BadRequest());
            }

            try
            {
                var application = _mapper.Map <JobApplication>(applicationDTO);
                await _repository.UpdateJobApplication(application);

                return(NoContent());
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
                // TODO: Log exception
                return(NotFound());
            }
        }