diff --git a/ServiceHost/Pages/Register/Index.cshtml.cs b/ServiceHost/Pages/Register/Index.cshtml.cs
index e706a74e..4e2e0d74 100644
--- a/ServiceHost/Pages/Register/Index.cshtml.cs
+++ b/ServiceHost/Pages/Register/Index.cshtml.cs
@@ -73,9 +73,20 @@ namespace ServiceHost.Pages.register
{
data = result,
});
-
}
+ public async Task
OnGetCreateOrUpdatePeriodTemp(List command,long contractingPartyTempId)
+ {
+ var result = await _temporaryClientRegistrationApplication.CreateOrUpdateWorkshopTemp(command, contractingPartyTempId);
+
+ return new JsonResult(new
+ {
+ success = result.IsSuccedded,
+ message = result.Message,
+ });
+ }
+
+
public async Task OnPostCreateOrUpdateInstitutionContractTemp(long contractingPartyTempId, string periodModel, string paymentModel, double totalPayment, double valueAddedTax)
{
var result = await _temporaryClientRegistrationApplication.CreateOrUpdateInstitutionContractTemp(contractingPartyTempId, periodModel, paymentModel, totalPayment, valueAddedTax);
diff --git a/ServiceHost/Pages/Register/_Partials/_Step1.cshtml b/ServiceHost/Pages/Register/_Partials/_Step1.cshtml
index 5d5383aa..8cb778ba 100644
--- a/ServiceHost/Pages/Register/_Partials/_Step1.cshtml
+++ b/ServiceHost/Pages/Register/_Partials/_Step1.cshtml
@@ -6,7 +6,7 @@