diff --git a/CustomerOnlineV2/CustomerOnlineV2.Common/CustomerOnlineV2.Common.csproj b/CustomerOnlineV2/CustomerOnlineV2.Common/CustomerOnlineV2.Common.csproj index fe360b8..b158ad5 100644 --- a/CustomerOnlineV2/CustomerOnlineV2.Common/CustomerOnlineV2.Common.csproj +++ b/CustomerOnlineV2/CustomerOnlineV2.Common/CustomerOnlineV2.Common.csproj @@ -7,7 +7,6 @@ - diff --git a/CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs b/CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs index d1e67de..2037840 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs +++ b/CustomerOnlineV2/CustomerOnlineV2/Controllers/CustomerController.cs @@ -45,7 +45,7 @@ namespace CustomerOnlineV2.Controllers //} [HttpPost] - public JsonResult GetAddressByPostCode(string postalCode) + public JsonResult GetAddressByPostCode([FromBody] string postalCode) { var postCode = postalCode.ToUpper(); string ProcessId = Guid.NewGuid().ToString().Replace("-", "") + ":" + postCode; diff --git a/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml b/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml index b45b6ad..a162aeb 100644 --- a/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml +++ b/CustomerOnlineV2/CustomerOnlineV2/Views/Customer/CustomerRegistration.cshtml @@ -4,6 +4,9 @@ } + + +
@@ -411,7 +414,9 @@