Пример #1
0
 internal LCLIdentity GetById(Guid ID)
 {
     var res = new LCLIdentity
     {
         User = RF.Concrete<UserRepository>().GetByKey(ID) as User
     };
     res.LoadChildrenProperties();
     return res;
 }
Пример #2
0
        internal LCLIdentity GetById(Guid ID)
        {
            var res = new LCLIdentity
            {
                User = RF.Concrete <UserRepository>().GetByKey(ID) as User
            };

            res.LoadChildrenProperties();
            return(res);
        }
Пример #3
0
        internal LCLIdentity GetBy(string username, string password)
        {
            var res = new LCLIdentity
            {
                User = RF.Concrete<IUserRepository>().GetBy(username, password)
            };

            res.LoadChildrenProperties();

            return res;
        }
Пример #4
0
        internal LCLIdentity GetBy(string username, string password)
        {
            var res = new LCLIdentity
            {
                User = RF.Concrete <IUserRepository>().GetBy(username, password)
            };

            res.LoadChildrenProperties();

            return(res);
        }