public ActionResult Index() { var viewHome = new Home() { Mensagens = ChatServer.GetHistorico(), //usuarioLogado = Session["usuario"] != null? Session["usuario"].ToString() : string.Empty }; return(View(viewHome)); }