Beispiel #1
0
        private void LoadChildrenProperties()
        {
            if (this.User != null)
            {
                base.Name            = this.User.Name;
                base.IsAuthenticated = true;
                this._roles          = (RF.Create <OrgPosition>() as OrgPositionRepository).GetList(User.Id); // list of roles from security store

                //var loadThis = this.OrgsHavePermission;
            }
            else
            {
                base.Name            = string.Empty;
                base.IsAuthenticated = false;
                this._roles          = null;
            }
        }
Beispiel #2
0
 public int Save(OrgPositions item)
 {
     return(CurrentClient.Save(item));
 }
Beispiel #3
0
        private void LoadChildrenProperties()
        {
            if (this.User != null)
            {
                base.Name = this.User.Name;
                base.IsAuthenticated = true;
                this._roles = (RF.Create<OrgPosition>() as OrgPositionRepository).GetList(User.Id); // list of roles from security store

                //var loadThis = this.OrgsHavePermission;
            }
            else
            {
                base.Name = string.Empty;
                base.IsAuthenticated = false;
                this._roles = null;
            }
        }
Beispiel #4
0
 public int Save(OrgPositions item)
 {
     return(Dal.Submit(item));
 }