public ActionResult CandidateProfile(int ReferralID) { CandidateProfileViewModel c = new CandidateProfileViewModel(); c = Candidate.GetCandidateData(ReferralID); c.Statuses = refService.GetStatus(); c.HistoryViewModel = history.DuplicationDetails(ReferralID); return(View(c)); }
public ActionResult Index(int tabno = 1) //Function to display candidate tables { HRLandingViewModel H = new HRLandingViewModel(); H.Statuses = refService.GetStatus(); H.Referrals = refService.GetReferralData(); H.Recruits = recService.GetRecruits(); ViewBag.Tab = tabno; return(View(H)); }