private TransactionResponse getAppResult(Vacancy vacancy)
 {
     TransactionResponse response = null;
     VacancyRegistrationAndEvaluationManager manager = new VacancyRegistrationAndEvaluationManager();
     try
     {
         response = manager.getApplicantResultAfterEvaluation(vacancy);
     }
     catch (Exception ex)
     {
         //Write this exception to file for investigation of the issue later. 
         LoggerManager.LogError(ex.ToString(), logger);
         msgPanel.Visible = true;
         ErroroDIV.Visible = true;
         if (response != null)
         {
             lblErrorMsg.Text = response.getMessage() + response.getErrorCode();
         }
         else
         {
             lblErrorMsg.Text = DBOperationErrorConstants.M_UNKNOWN_EVIL_ERROR + DBOperationErrorConstants.E_UNKNOWN_EVIL_ERROR;
         }
     }
     return response;
 }