public ActionResult Add(SpecialModel model) { if (model != null) { SpecialInfo specialInfo = new SpecialInfo { Name = model.Name, Title = model.Title, ImgUrl = model.ImgUrl, LogoUrl = model.LogoUrl, IsOut = model.IsOut, OutUrl = model.OutUrl, Body = model.Body, DisplayOrder = model.DisplayOrder }; Special.Create(specialInfo); //AddAdminOperateLog("添加友情链接", "添加友情链接,友情链接为:" + model.FriendLinkName); return(PromptView("专题添加成功")); } Load(); return(View(model)); }