Example #1
0
        public ActionResult DetailExp(int id)
        {
            DBmanager   manager    = new DBmanager();
            Experiences experience = manager.GetByExp(id);

            return(View(experience));
        }
Example #2
0
        public ActionResult EditExperiences(int id)
        {
            DBmanager          dBmanager   = new DBmanager();
            Experiences        experience  = dBmanager.GetByExp(id);
            DBmanager          S           = new DBmanager();
            List <Supervisors> Supervisors = S.GetSupervisors();

            ViewBag.supervisor = Supervisors;
            DBmanager          dB          = new DBmanager();
            List <Departments> departments = dB.GetDepartments();

            ViewBag.department = departments;
            return(View(experience));
        }