Exemplo n.º 1
0
        public UserGroupManageModel(UserGroup userGroup)
            : this()
        {
            Id          = userGroup.Id;
            Name        = userGroup.Name;
            Description = userGroup.Description;
            RedirectUrl = userGroup.RedirectUrl;

            ToolbarId = userGroup.ToolbarId;
            Toolbars  = _toolbarService.GetToolbars(ToolbarId);

            RecordOrder = userGroup.RecordOrder;
        }
Exemplo n.º 2
0
        public UserGroupManageModel()
        {
            _toolbarService = HostContainer.GetInstance <IToolbarService>();

            Toolbars = _toolbarService.GetToolbars();
        }