Example #1
0
        public IActionResult ValidateCombination([FromBody] CreateEditViewModel model)
        {
            model.ID = (model.ID == null || model.ID == "" ? "0" : EncryptionHelper.DecryptUrlParam(model.ID));
            var isValid = _organizationUnitProvider.validateCombination(model);

            return(Ok(isValid));
        }