public ActionResult PaymentGroup()
        {
            var signalRGroupId = Session[Helpers.SignalRGroupIdSessionKey] ?? Guid.NewGuid().ToString();
            Session[Helpers.SignalRGroupIdSessionKey] = signalRGroupId;

            var isPaymentCurrentlyBeingProcesses = Session[Helpers.IsPaymentCurrentlyBeingProcessedSessionKey] ?? false;

            var model = new PaymentModel() {SignalRGroupId = (string) signalRGroupId, IsPaymentCurrentlyBeingProcessed = (bool) isPaymentCurrentlyBeingProcesses};

            return PartialView("PaymentGroup", model);
        }
 public ActionResult SubmitPayment(PaymentModel paymentModel)
 {
     paymentModel.IsPaymentCurrentlyBeingProcessed = true;
     Session[Helpers.IsPaymentCurrentlyBeingProcessedSessionKey] = true;
     return View("PaymentForm", paymentModel);
 }