public ActionResult Dashboard(string username)
        {
            var conversations = messageDal.GetConversations(username);

            return(View("Dashboard", conversations));
        }
Exemplo n.º 2
0
        public ActionResult GetNewThreadMessages(string forUser, string withUser, DateTime sinceDate)
        {
            var newConversations = messageDal.GetConversations(forUser, withUser, sinceDate);

            return(Json(newConversations, JsonRequestBehavior.AllowGet));
        }