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)); }
// GET: History public ActionResult Duplication(FormCollection collection) { int ID = Convert.ToInt16(collection["ReferralID"]); return(View(history.DuplicationDetails(ID))); }