public ActionResult Index()
        {
            FREELANCER_DOC_INFO_Model doc = null;

            if (User.Identity.GetUserId() != null)
            {
                doc = _iFreelancerDocService.GetFreelancerDocById(User.Identity.GetUserId());
            }
            return(View(doc));
        }
示例#2
0
        public ActionResult Index()
        {
            FREELANCER_RESUME_Model resume = new FREELANCER_RESUME_Model();

            string userId = User.Identity.GetUserId();

            resume.PersonalInfo    = _iFreelancerPersonalInfoService.GetFreelancerPersonalInfoById(userId);
            resume.Educations      = _iFreelancerEducationInfoService.GetAllByFreelancerId(userId);
            resume.Experiences     = _iFreelancerExperienceInfoService.GetAllByFreelancerId(userId);
            resume.Skills          = _iFreelancerSkillInfoService.GetAllByFreelancerId(userId);
            resume.CareerObjective = _iFreelancerCareerObjectiveService.GetFreelancerCareerObjectiveById(userId);
            resume.Docs            = _iFreelancerDocService.GetFreelancerDocById(userId);

            return(View(resume));
        }