예제 #1
0
        /// <summary>
        /// Given a blank user, this will push information from the database to it.
        /// </summary>
        /// <param name="givenUser"></param>
        /// <returns></returns>
        public static int PullInformationForGivenUser(ref AuxUser givenUser, int id)
        {
            int code = 0;
            ActiveUserBuilder activeUserBuilder = new ActiveUserBuilder();


            return(code);
        }
예제 #2
0
        /// <summary>
        /// This will convert the list of int that represent aux users into a group.
        /// </summary>
        /// <returns></returns>
        public AuxUser[] GetCurrentAuxUsers()
        {
            List <AuxUser> auxs = new List <AuxUser>();

            for (int i = 0; i < _userInGroup.Length; i++)
            {
                AuxUser ax = new AuxUser();

                //Fill auz user with information from DB
                //DbUtitlity.PullInformationForGivenUser(ref ax, _userInGroup[i]);
                auxs.Add(ax);
            }
            return(auxs.ToArray());
        }