Пример #1
0
        public ActionResult DeleteConfirmed(int ipt_Id)
        {
            DeleteImpiantoViewModel model = new DeleteImpiantoViewModel();

            model.i = ipt_Id;
            _data.DeleteImpianto(model.i);
            return(RedirectToAction("Index"));
        }