public async void Calculate(CalculateRequestViewModel request)
        {
            SessionData.CalculateRequest = request.ToModel();

            if (ModelState.IsValid)
            {
                if (request.RequestType == RequestType.Bundesland && request.BundeslandId == null)
                {
                    ShowPanels(false);
                    ModelState.AddModelError("", "Bitte treffen Sie beim Bundesland Ihre Auswahl.");
                    return;
                }

                if (request.RequestType == RequestType.Plz && request.Plz == null)
                {
                    ShowPanels(false);
                    ModelState.AddModelError("", "Geben Sie bitte eine Postleitzahl ein.");
                    return;
                }

                if (await this.MeteoGtzService.CheckPlz(calculateRequest))
                {
                    ShowPanels(true);
                    ShowCurrentAuswahl();
                    await GetJahresbetrachtungChart();
                    await GetMonatsRelativeVerteilungJahr();
                    await this.GetChartTemperatur();
                    btnDrillBack.Visible = false;
                }
                else
                {
                    ShowPanels(false);
                    ModelState.AddModelError("", "Überprüfen Sie bitte PLZ.");
                }
               
            }
            else
            {
                ShowPanels(false);
            }
        }
 public CalculateRequestViewModel GetCalculateRequest()
 {
     var result = new CalculateRequestViewModel
     {
        //RequestType = RequestType.None, //User.Identity.IsAuthenticated ? RequestType.Plz : RequestType.Bundesland
     };
     return result;
 }