public IActionResult ConfigureGet()

in cloud-run/rideshare-plus-website/RidesharePlus/Controllers/PredictController.cs [59:81]


    public IActionResult ConfigureGet()
    {
        DataStoreService dataStoreService = new DataStoreService();
        DataStoreModel dataStoreModel = dataStoreService.GetDataStore;

        if (dataStoreModel == null)
        {
            dataStoreModel = new DataStoreModel();
        }

        PredictConfigureViewModel predictConfigureViewModel = new PredictConfigureViewModel();

        if (dataStoreModel.LookerHighValueRides != null)
        {
            predictConfigureViewModel.LookerEmbedUrl = dataStoreModel.LookerHighValueRides;
        }

        predictConfigureViewModel.ProjectId = EnvVarService.ENV_PROJECT_ID;
        predictConfigureViewModel.DatasetName = EnvVarService.ENV_RIDESHARE_LAKEHOUSE_CURATED_DATASET;
        predictConfigureViewModel.ViewName = "looker_high_value_rides";

        return View("Configure", predictConfigureViewModel);
    }