public ActionResult Dashboard(string username) { var conversations = messageDal.GetConversations(username); return(View("Dashboard", conversations)); }
public ActionResult GetNewThreadMessages(string forUser, string withUser, DateTime sinceDate) { var newConversations = messageDal.GetConversations(forUser, withUser, sinceDate); return(Json(newConversations, JsonRequestBehavior.AllowGet)); }