Esempio n. 1
0
        public async Task <ActionResult> InstaFlightsSearch(InstaFlightsPostRQ requestModel)
        {
            RestClient    restClient    = RestClientFactory.Create();
            IActivity     activity      = new InstaFlightsActivity(restClient, requestModel);
            Workflow      workflow      = new Workflow(activity);
            SharedContext sharedContext = await workflow.RunAsync();

            InstaFlightsPostVM viewModel = ViewModelFactory.CreateInstaFlightsVM(sharedContext);

            return(this.View(viewModel));
        }