Example #1
0
        private void Handle(PermissionUpdated evnt)
        {
            var editableInfo = evnt.Info;

            _info = new PermissionInfo(_info.AppSystemId,
                                       _info.Code,
                                       editableInfo.Name,
                                       editableInfo.PermissionType,
                                       editableInfo.ParentPermission,
                                       editableInfo.PermissionUrl,
                                       editableInfo.Sort,
                                       editableInfo.ReMark);
        }
Example #2
0
 public PermissionCreated(PermissionInfo info, int isVisible)
 {
     Info      = info;
     IsVisible = isVisible;
 }