private void updateVacancyEvaluation(VacancyEvaluationForm vacancyEvaluationForm) { //CALL The manager VacancyRegistrationAndEvaluationManager vacancyRegistrationAndEvaluationManager = new VacancyRegistrationAndEvaluationManager(vacancyEvaluationForm); TransactionResponse response = vacancyRegistrationAndEvaluationManager.updateApplicantRatingForSecondPhase(applicantType); if (response.isSuccessful()) { //take care of buttons to be displayed. if (FORM1.Equals(isGenOrGSpecificForm)) { btnGenAddNew.Enabled = true; btnGenAddNew.Visible = true; btnGenUpdate.Visible = false; btnGenCancelUpdate.Visible = false; btnGenSave.Visible = false; } else if(FORM2.Equals(isGenOrGSpecificForm)) { btnGOnlyNew.Enabled = true; btnGOnlyNew.Visible = true; btnGenOnlyUpdate.Visible = false; btnGenOnlyCancelUpdate.Visible = false; btnGOnlySave.Visible = false; } } displayMessageToTheUser(response); }