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(); }
public void CreateAdminAccount() { AuthenticationSystem AuthenticationSystemObject = new AuthenticationSystem { FullName = "dilip", MasterPassword = "******", EmployeeID = "dilip", EmailID = "*****@*****.**", AdminAccountStatus = true, ActivationStatus = true }; AuthenticationSystemObject.CreateAdminAccount(); }