Exemple #1
0
        public void AddCustomerTest()
        {
            string name    = "Ethan Programming";
            string address = "504 Who Cares Rd";
            string state   = "Michigan";
            int    zip     = 49646;

            Help.AddCustomer(name, address, state, zip);
        }
Exemple #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            HelpFacade help    = new HelpFacade();
            string     name    = txtCustName.Text.ToString();
            string     address = txtCustAddress.Text.ToString();
            string     state   = txtCustState.Text.ToString();
            int        zip     = int.Parse(txtCustZip.Text);

            help.AddCustomer(name, address, state, zip);
        }