예제 #1
0
        public void Register()
        {
            AuthenticationSystem Au = new AuthenticationSystem();

            Au.ActivationStatus   = true;
            Au.AdminAccountStatus = true;
            Au.FullName           = FullName;
            Au.EmployeeID         = EmployeeID;
            Au.MasterPassword     = MasterPassword;
            Au.EmailID            = EmailID;
            Au.CreateAdminAccount();
        }
예제 #2
0
        public void CreateAdminAccount()
        {
            AuthenticationSystem AuthenticationSystemObject = new AuthenticationSystem
            {
                FullName           = "dilip",
                MasterPassword     = "******",
                EmployeeID         = "dilip",
                EmailID            = "*****@*****.**",
                AdminAccountStatus = true,
                ActivationStatus   = true
            };

            AuthenticationSystemObject.CreateAdminAccount();
        }