public IActionResult New(NewModel model)
        {
            //写入整个Controller  利于重用
            //LogViewModel viewModel = new LogViewModel();
            //string user = HttpContext.Session.GetString("Username");
            //viewModel = JsonConvert.DeserializeObject<LogViewModel>(user);

            int id = blogService.Publish(model.Title, model.Body, CurrentUser().CurrentUserId.ToString()).Id;

            blogService.AddKeyword(model.Keyword.KeywordContent, blogService.GetById(id.ToString()));
            return(Redirect("/Blog/Single?id=" + id));
        }