private void btnCreateUser_Click(object sender, EventArgs e) { userRepository.CreateUser( txtFirstName.Text, txtLastName.Text, (Role)Enum.Parse(typeof(Role), cmbRole.Text), listView1); userRepository.Eraser(groupBox3); }