public ActionResult newTweet(Tweet tweet) { try { Profile pObj = new Profile(); string id = Session["user"].ToString(); pObj = dalLayer.NewTweet(tweet, id); return(PartialView("GetTweets", pObj.allTweets)); } catch (Exception ex) { throw ex; } }