public async Task <IActionResult> Create()
        {
            CreateInsurenceClaimViewModel viewModel = new CreateInsurenceClaimViewModel();

            viewModel.Insurences = await _movtechAPIService.GetAllInsurences();

            return(View(viewModel));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> Index()
        {
            IEnumerable <Insurence> insurences = await _movtechAPIService.GetAllInsurences();

            return(View(insurences));
        }