in my controller i pass a model to view`
public IActionResult Forgotpassword() { System.Web.HttpContext.Current.Session["sessionString"]