public IActionResult Create([Bind("EmailAddress,CustomerFN,CustomerLN,StreetAddress,City,State,Zip,PhoneNumber")] CustomerAccount customerAccount) { if (ModelState.IsValid) { Salon.CreateCustomerAccount(customerAccount.EmailAddress, customerAccount.CustomerFN, customerAccount.CustomerLN, customerAccount.StreetAddress, customerAccount.City, customerAccount.State, customerAccount.Zip, customerAccount.PhoneNumber); return(RedirectToAction(nameof(Index))); } return(View(customerAccount)); }