Exemple #1
0
        public async Task <IActionResult> Remove(VeiculoViewModel viewModel)
        {
            await _veiculoService.RemoveAsync(_mapper.Map <Veiculo>(viewModel));

            return(RedirectToAction("Index"));
        }