public void ConvertToTree() { List <PermissionDefinition> linCmsAttributes = ReflexHelper.GeAssemblyLinCmsAttributes(); dynamic obj = ReflexHelper.AuthorizationConvertToTree(linCmsAttributes); string jsonSerializeObject = JsonConvert.SerializeObject(obj); }
public IActionResult GetAllAuths() { List <PermissionDto> linCmsAttributes = ReflexHelper.GeAssemblyLinCmsAttributes(); dynamic obj = ReflexHelper.AuthorizationConvertToTree(linCmsAttributes); return(Ok(obj)); }