public ActionResult AddNotifyDetails(PortfolioCalculationRequestNotifyDetailsModel model)
 {
     try
     {
         this.Provider.AddNotifyDetails(model);
         return View("~/Views/PortfolioCalculationRequest/Share.cshtml");
     }
     catch (PortfolioCalculationRequestValidationException pexc)
     {
         this.Provider.LogRequestError(model.RequestId, pexc.Message);
         var exceptionModel = new PortfolioCalculationRequestExceptionModel
         {
             RequestId = model.RequestId,
             ValidationException = pexc
         };
         return View("~/Views/PortfolioCalculationRequest/RequestException.cshtml", exceptionModel);
     }
 }
 public ActionResult SubmitRequest(PortfolioCalculationRequestInputModel model)
 {
     try
     {
         this.ValidateNewRequest(model);
         model.Origin = this.GetOrigin();
         var submitModel = this.Provider.SubmitRequest(model);
         return View("~/Views/PortfolioCalculationRequest/ResponseOk.cshtml", submitModel);
     }
     catch (PortfolioCalculationRequestValidationException pexc)
     {
         this.Provider.LogRequestError(model.RequestId, pexc.Message);
         var exceptionModel = new PortfolioCalculationRequestExceptionModel
                                  {
                                      RequestId = model.RequestId,
                                      ValidationException = pexc
                                  };
         return View("~/Views/PortfolioCalculationRequest/RequestException.cshtml", exceptionModel);
     }
 }