public IActionResult DeleteCustomLabel(int customLabelId) { var customLabel = _customLabelService.Get(customLabelId); if (customLabel == null) { return(NotFound()); } _customLabelService.Delete(customLabel); return(R.Success.Result); }