public static List <ResumeVisibilityModel> List() { var res = new List <ResumeVisibilityModel>(); var dt = DataAccess.GetDataTable("spuResumeVisibilityList", null); foreach (DataRow row in dt.Rows) { var resumeVisibilityModel = new ResumeVisibilityModel(); resumeVisibilityModel.Load(row); res.Add(resumeVisibilityModel); } return(res); }