private bool CreateCustomerInfo() { objCustomer = new Customer(); objCustomerBiz = new CustomerBiz(); objCustomer.CustomerUsername = txtCustomerUsername.Text.Trim(); objCustomer.CustomerPassword = SHA512PasswordGenerator(txtCustomerPassword.Text.Trim()); objCustomer.CustomerContactNumber = txtCustomerContactNo.Text.Trim(); objCustomer.CustomerFullName = txtCustomerFullName.Text.Trim(); objCustomer.CustomerDescription = txtCustomerDescription.Text.Trim(); objCustomer.CustomerAddress = txtCustomerAddress.Text.Trim(); objCustomer.CustomerEmail = txtCustomerEmail.Text.Trim(); objCustomer.CreatedBy = Convert.ToInt16(Session["UserId"].ToString()); MessageBox(objCustomerBiz.CreateCustomerInfo(objCustomer)); return(true); }