Пример #1
0
        public ActionResult CreateExtrainfo()
        {
            JobResumeExtra er = new JobResumeExtra();

            er.extraactivities = Request["extraact"];
            er.otherinterests  = Request["othrint"];
            er.namep1          = Request["refperson1"];
            er.affp1           = Request["affperson1"];
            er.php1            = Request["phref1"];
            er.emailp1         = Request["refemail1"];
            er.namep2          = Request["refperson2"];
            er.affp2           = Request["affperson2"];
            er.php2            = Request["phref2"];
            er.emailp2         = Request["refemail2"];
            er.userId          = uid;
            ExtraInfo obj = new ExtraInfo();

            obj.addExtraInfo(er);
            getAllLists obj3 = new getAllLists();

            ViewBag.Cities     = obj3.getCities();
            ViewBag.Countaries = obj3.getCountaries();
            ViewBag.Degrees    = obj3.getDegrees();
            ViewBag.Institutes = obj3.getInstitutes();
            BasicInfo b  = new BasicInfo();
            ExpInfo   e1 = new ExpInfo();
            ExtraInfo e2 = new ExtraInfo();

            ViewBag.isBasicInfoExist = b.isBasicInfoFound(uid);
            ViewBag.isExpInfoExist   = e1.isExpInfoFound(uid);
            ViewBag.isExtraInfoExist = e2.isExtraInfoFound(uid);

            UserInfo u = new UserInfo();

            ViewBag.UserInfo = u.getUserInfo(uid);
            return(View("Create"));
        }
Пример #2
0
        public ActionResult Extrainfo()
        {
            string extraact   = Request["extraact"];
            string othrint    = Request["othrint"];
            string refperson1 = Request["refperson1"];
            string affperson1 = Request["affperson1"];
            string phref1     = Request["phref1"];
            string refemail1  = Request["refemail1"];
            string refperson2 = Request["refperson2"];
            string affperson2 = Request["affperson2"];
            string phref2     = Request["phref2"];
            string refemail2  = Request["refemail2"];

            ExtraInfo obj = new ExtraInfo();

            obj.addExtraInfo(extraact, othrint, refperson1, affperson1, phref1, refemail1, refperson2, affperson2, phref2, refemail2, 1);
            getAllLists obj3 = new getAllLists();

            ViewBag.Cities     = obj3.getCities();
            ViewBag.Countaries = obj3.getCountaries();
            ViewBag.Degrees    = obj3.getDegrees();
            ViewBag.Institutes = obj3.getInstitutes();
            return(View("Create"));
        }