private void Register() { var manager = new CredentialsManager(); var message = manager.Register( loginInput.Text, passwordInput.Text, mailInput.Text, (Sex)Enum.Parse(typeof(Sex), sexInput.Text)); MessageBox.Show(message); }
private void Register() { var manager = new CredentialsManager(); var message = manager.Register( loginInput.Text, passwordInput.Text, mailInput.Text, (Sex)Enum.Parse(typeof(Sex), sexInput.Text)); MessageBox.Show(message); }