コード例 #1
0
ファイル: OwnersController.cs プロジェクト: Liam44/MVCGarage
        public ActionResult DeleteConfirmed(int id)
        {
            Owner owner = db.Find(id);

            db.RemoveOwner(owner);
            return(RedirectToAction("Index"));
        }