Exemplo n.º 1
0
        internal bool CreateUser()
        {
            UserProvider up = new UserProvider();
            User user = this as User;

            if (user == null)
                return false;

            return up.CreateUser(user);
        }
Exemplo n.º 2
0
 internal object GetUser()
 {
     UserProvider up = new UserProvider();
     return up.GetUser(this.Username, this.Password);
 }