示例#1
0
        public ActionResult DeleteAgitatore(int Id, int ipt_Id, int clt_Id)
        {
            DeleteAgitatoreViewModel model = new DeleteAgitatoreViewModel();

            model.Id     = Id;
            model.clt_Id = clt_Id;
            model.ipt_Id = ipt_Id;
            return(PartialView("DeleteAgitatore", model));
        }
示例#2
0
 public ActionResult DeleteAgitatore(DeleteAgitatoreViewModel model)
 {
     _data.DeleteAgitatore(model.Id);
     return(RedirectToAction("ImpiantoFullInfo", "Impianto", new { ipt_Id = model.ipt_Id, clt_Id = model.clt_Id }));
 }