Example #1
0
        public IActionResult Enable(ModelEntity model)
        {
            model.IsEnable = !model.IsEnable;
            var result = model.Success();

            return(Json(result));
        }
Example #2
0
        public IActionResult Del(ModelEntity model)
        {
            var result = model.Success();

            return(Json(result));
        }