public ActionResult ForgotPassword(string mail) { try { IBL Bl = new BlClass(); Bl.ForgotPassword(mail); ViewBag.TitlePopUp = "איפוס סיסמה"; ViewBag.Message = "ממתינה לך סיסמה חדשה בתיבת המייל איתו נרשמת למערכת"; return(View("~/Views/Home/Index.cshtml")); } catch (System.Exception ex) { ViewBag.TitlePopUp = "שגיאה"; ViewBag.Message = ex.Message; return(View("~/Views/Home/Index.cshtml")); } }