Ejemplo n.º 1
0
        public async void HandleRegisterSubmit()
        {
            client          = register.client;
            cred            = register.credential;
            client.UserName = cred.UserName;
            await CredentialDataService.AddCredential(cred);

            await ClientDataService.AddClient(client);

            LoginRequired = true;
            RegisterPage  = false;
            StateHasChanged();
        }