public ActionResult DeleteConfirmed(int id) { goodsRepository.DeleteGood(id); goodsRepository.Save(); return RedirectToAction("Index"); }