public IActionResult DeleteJob(DeleteJobModel model)
        {
            try
            {
                _logger.LogDebug($"Endpoint: \"JobManagement\" Method: \"DeleteJob\" Parameters: \"{model}\"");
                ValidationResult validationResult = new JobManagementValidator(model).Validate();
                if (!validationResult.IsValid)
                {
                    ExceptionHandler.ThrowProperExternalException(new InputValidationException(validationResult.Message));
                }

                _service.DeleteJob(model.SubmittedJobInfoId, model.SessionCode);
                return(Ok("Job deleted."));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }