Пример #1
0
        public ActionResult CreateCard()
        {
            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());
        }
Пример #2
0
        public ActionResult EditEducations(int id)
        {
            DBmanager          dBmanager   = new DBmanager();
            Educations         education   = dBmanager.GetByEdu(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(education));
        }
Пример #3
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));
        }
Пример #4
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));
        }
Пример #5
0
        public ActionResult Index()
        {
            DBmanager dBmanager = new DBmanager();
            List <BasicInformation> basicInformations = dBmanager.GetCards();

            ViewBag.cards = basicInformations;
            DBmanager          dB          = new DBmanager();
            List <Departments> departments = dB.GetDepartments();

            ViewBag.department = departments;
            DBmanager          S           = new DBmanager();
            List <Supervisors> Supervisors = S.GetSupervisors();

            ViewBag.supervisor = Supervisors;


            return(View());
        }