Exemplo n.º 1
0
        public async Task <IActionResult> DeleteCargo(CargoModel cargo)
        {
            await _cargoService.DeleteCargoAsync((int)cargo.Cargo_Id);

            return(RedirectToAction("Index"));
        }