private UserDTO GetUser() { return(new UserDTO { ID = userBUS.CreateID(), Username = textBoxUsername.Text, Password = textBoxPassword.Text, Name = textBoxName.Text, Email = textBoxEmail.Text, BirthDate = DateTime.ParseExact(textBoxBirthDate.Text, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture), Permission = 0 }); }