public ArrayList GetListRespondVacancyUserForEmployer(string userID) { string roleOfUser = Models.User.GetUserRole(userID); if (roleOfUser == Enum.GetName(typeof(ListOfUsers), ListOfUsers.employer)) { return(Vacancy.GetListRespondVacancyUserForEmployer(userID)); } else { return(new ArrayList { "the role isnt a: " + Enum.GetName(typeof(ListOfUsers), ListOfUsers.employer) + " its a " + roleOfUser }); } }