Exemplo n.º 1
0
        public IActionResult AddOwnerCar(CarOwnerViewModel carOwnerViewModel)
        {
            ownerService.AddCarForOwner(carOwnerViewModel.OwnerId, carOwnerViewModel.CarId);

            return(RedirectToAction("Index"));
        }