public IActionResult CreateAutomovel()
        {
            var apolices  = _apoliceService.FindAll();
            var viewModel = new AutomovelFormViewModel {
                Apolices = apolices
            };

            return(View(viewModel));
        }
Exemplo n.º 2
0
        public IActionResult SelectApolice()
        {
            var list = _apoliceService.FindAll();

            return(View(list));
        }