예제 #1
0
        public async void Register(string email, string password)
        {
            ConnectionApi.Configure();
            var methods = new UserMethod(ConnectionApi.HttpClient);

            try
            {
                await methods.Register(email, password);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            var loginWindow = new MultiNotesLoginWindow();

            loginWindow.Show();
            _closeAction.Invoke();
        }