public ActionResult Inbox(string s)
        {
            List <message>        pvm  = new List <message>();
            IEnumerable <message> prod = mss.GetAllMsgbyreciever((int)Session["LogedUserid"]);

            if (!String.IsNullOrEmpty(s))
            {
                IEnumerable <message> y = mss.Recherche(s, (int)Session["LogedUserid"]);
                foreach (var u in y)
                {
                    message G = new message
                    {
                        idMessage = u.idMessage,
                        subject   = u.subject,
                        text      = u.text,
                        date      = u.date
                    };

                    pvm.Add(G);
                }
                return(View(pvm));
            }


            return(View(prod));
        }