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