public ActionResult Index()
 {
     using (var jobTitle = new JobtitlesService())
     {
         ViewBag.JobTitles = jobTitle.GetJobtitles();
     }
     return(View());
 }
        public ActionResult Index()
        {
            using (var program = new ProgramsService())
            {
                ViewBag.Programs = program.GetPrograms();
            }
            using (var jobTitle = new JobtitlesService())
            {
                ViewBag.JobTitles = jobTitle.GetJobtitles();
            }

            return(View());
        }
        // GET: HoatDongNgoaiKhoa
        public ActionResult Index()
        {
            var school = (T_DM_Truong)Session[Constant.SCHOOL_SESSION];

            if (school == null)
            {
                return(RedirectToRoute("login"));
            }
            using (var province = new ProvinceSerivce())
            {
                ViewBag.Provinces = province.GetProvinces();
            }
            using (var jobTitle = new JobtitlesService())
            {
                ViewBag.JobTitles = jobTitle.GetJobtitles();
            }
            return(View());
        }