private bool checkAlreadyEvaluatedApplicantAndDisplayForUpdate(Employee employee, Vacancy vacancy) { //CHECK IF THIS EMPLOYEE IS ALREADY PROCESSED EMPLOYEE VacancyEvaluationForm vacanyEvaluationForm = new VacancyEvaluationForm(); vacanyEvaluationForm.EmpId = employee.EmpID; vacanyEvaluationForm.VacancyNo = vacancy.VacancyNo; vacanyEvaluationForm.VacancyDate = vacancy.PostedDate; vacanyEvaluationForm.FormType = isGenOrGSpecificForm; //get employee type. - it can be internal or external. applicantType = employee.EmployeeType; VacancyRegistrationAndEvaluationManager vacancyManager = new VacancyRegistrationAndEvaluationManager(vacanyEvaluationForm); TransactionResponse response = vacancyManager.checkIfItIslreadyEvaluatedEmployeeForSecondPhase(employee); //If the employee is already evaluated employee if (response.isSuccessful()) { if (response.getMessageType() != TransactionResponse.SeverityLevel.WARNING) { //display detail of Existing data for update displayEmployeeDetailForUpdate(employee, response.Data); } displayMessageToTheUser(response); //we stop the flow return true; } return false; }