public static bool saveUserTweet(tweet twmodel)
        {
            bool result = false;

            using (var db = new FSEEntities())
            {
                db.tweets.Add(twmodel);
                db.SaveChanges();
                result = true;
            }

            return(result);
        }
        public static bool followUser(string loginUserid, string followUserid)
        {
            bool result = false;

            using (var db = new FSEEntities())
            {
                following following = new following();
                following.user_id      = loginUserid;
                following.following_id = followUserid;
                var userTest = db.followings.Where(x => x.user_id == loginUserid && x.following_id == followUserid).Any();
                if (!userTest)
                {
                    db.followings.Add(following);
                    db.SaveChanges();
                    result = true;
                }
            }
            return(result);
        }