Exemple #1
0
        public ActionResult Delete(int Id = 0)
        {
            alertService = new AlertService();

            if (Id != 0)
            {
                alertService = new AlertService();
                alertService.DeleteById((int)Session["userId"], Id);
            }

            AlertModel alertModel = new AlertModel();

            return(PartialView(VIEW_FORM_PARTIAL, alertModel));
        }