public async Task <IActionResult> EditGoods(string id)
        {
            GoodsEditViewModel webModel = new GoodsEditViewModel();

            if (!string.IsNullOrEmpty(id))
            {
                //编辑信息,加载物品相关信息
                webModel = await _service.GetGoodsAsync(Convert.ToInt64(id), _context);
            }

            return(View(webModel));
        }