Exemple #1
0
        public JsonResult DeleteState(int id)
        {
            State state = serviceState.GetById(id);

            serviceState.Delete(state);
            serviceState.Commit();
            return(Json("success", JsonRequestBehavior.AllowGet));
        }