public ActionResult EditProfile(FormCollection collection) { string user = Session["user"].ToString(); PERSON person = new PERSON(); person.user_id = user; person.fullName = collection["fullName"].ToString(); person.email = collection["email"].ToString(); person.password = collection["password"].ToString(); dalLayer.EditProfile(person); return(RedirectToAction("ProfileHome", new { id = user })); }