public static List<Province> GetAllProvinces() { var returnListProvinces = new List<Province>(); var dataTable = new DataTable(); var dao = new DaoCommonInfo(); dataTable = dao.GetAllProvince(); if (dataTable != null && dataTable.Rows.Count > 0) { for (int i = 0; i < dataTable.Rows.Count; i++) { var province = new Province(dataTable.Rows[i]["ProvinceId"].ToString(), dataTable.Rows[i]["ProvinceName"].ToString()); returnListProvinces.Add(province); } } return returnListProvinces; }
protected DataTable GetAllCertificates() { var dao = new DaoCommonInfo(); return dao.GetAllCertificates(); }
protected DataTable GetAllCompanySize() { var dao = new DaoCommonInfo(); return dao.GetAllCompanySize(); }
protected DataTable GetAllSalaryLevel() { var dao = new DaoCommonInfo(); return dao.GetAllSalaryLevel(); }
protected DataTable GetAllWorkTypes() { var dao = new DaoCommonInfo(); return dao.GetAllWorkTypes(); }
protected DataTable GetAllProvine() { var dao = new DaoCommonInfo(); return dao.GetAllProvince(); }
protected DataTable GetAllRaces() { var dao = new DaoCommonInfo(); return dao.GetAllRace(); }
protected DataTable GetAllLanguageSkill() { var dao = new DaoCommonInfo(); return dao.GetAllLanguageSkill(); }
protected DataTable GetAllJobs() { var dao = new DaoCommonInfo(); return dao.GetAllJobIndustries(); }
protected DataTable GetAllJobPosition() { var dao = new DaoCommonInfo(); return dao.GetAllJobPosition(); }
protected DataTable GetAllExperienceLevel() { var dao = new DaoCommonInfo(); return dao.GetAllExperienceLevel(); }
protected DataTable GetAllDistrictInProvince(string provinceId) { var dao = new DaoCommonInfo(); return dao.GetAllDistrictInProvince(provinceId); }