Exemple #1
0
 private void CreateUserButton_Click(object sender, EventArgs e)
 {
     _dao.CreateUser(new UserDTO {
         FirstName = firstNameText.Text, LastName = lastNameText.Text
     });
     ClearTextBoxes();
     DisplayUsersFromDb(IDataAccessObjectConstants.NoFilter);
 }