public JsonResult AddTweet(TweetModel tweet) { Model.Tweet newTweet = new Model.Tweet(); newTweet.message = tweet.Message; newTweet.tweet_id = tweet.Tweet_id; newTweet.user_id = User.Identity.Name; person.AddOrUpdateTweet(newTweet); return(Json("Ok")); }