public ActionResult ComposeUser(Mesaj msg) { msg.is_read = false; msg.Create_on = DateTime.Now; msg.sender_Email = CurrentSession.User.Email; msg.TercumeUser = CurrentSession.User; var errors = ModelState.Values.SelectMany(v => v.Errors); if (ModelState.IsValid) { mailManager.Insert(msg); return(RedirectToAction("Index", "Home")); } return(View(msg)); }