public ActionResult deleteTweet(Tweet tweet) { try { Profile pObj = new Profile(); string id = Session["user"].ToString(); pObj = dalLayer.DeleteTweet(tweet, id); return(PartialView("SelfTweets", pObj.selfTweets)); } catch (Exception ex) { throw ex; } }