public ActionResult EditGoods(ViewModelGoods goods) { Goods saveGoods = new Goods { GoodsId = goods.GoodsId, GoodsName = goods.GoodsName, Type = goods.Type, Detail = goods.Detail, Configuration = goods.Configuration, InstallWay = goods.InstallWay, }; goodsService.EditGoods(saveGoods); return(PartialView("AddScreenshot", new { goods.GoodsId })); }