public ActionResult Create(TweetInputModel model)
        {
            if (this.ModelState.IsValid && this.ModelState != null)
            {
                var authorId = this.User.Identity.GetUserId();
                var user = this.Data.Users.All().FirstOrDefault(u => u.Id == authorId);
                var tweet = new Tweet()
                {
                    Content = model.Content,
                    Author = user,
                    CreatedOn = DateTime.Now
                };
                this.Data.Tweets.Add(tweet);
                this.Data.SaveChanges();
                
                return RedirectToAction("Profile", "User",new {Id=user.Id});

            }
            TempData["shortMessage"] = this.ModelState.Values.FirstOrDefault().Errors.FirstOrDefault().ErrorMessage;
            return RedirectToAction("Index", "Home");
        }
        public ActionResult Post(TweetInputModel model)
        {
            if (this.ModelState.IsValid && this.ModelState != null)
            {
                Tweet t = new Tweet()
                {
                    Content = model.Content,
                    CreatedOn = DateTime.Now
                };

                this.Data.Tweets.Add(t);
                this.Data.SaveChanges();
                return RedirectToAction("Index", "Home");
            }

            return PartialView(model);
        }