public ActionResult EditProfile(int id) { return(View(_profileService.GetProfile(id))); }
// GET: Profile - gets a profile using their ApplicantId public ActionResult GetProfile(int id) { // If the ApplicantId is stored in the session then use it as the parameter to get profile System.Web.HttpContext.Current.Session["Id"] = id; return(View(_profileService.GetProfile(id))); }