Ejemplo n.º 1
0
 public ActionResult EditProfile(int id)
 {
     return(View(_profileService.GetProfile(id)));
 }
Ejemplo n.º 2
0
 // 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)));
 }