예제 #1
0
        public ActionResult EditCard(int id)
        {
            DBmanager          dBmanager        = new DBmanager();
            BasicInformation   basicInformation = dBmanager.GetByID(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(basicInformation));
        }