Example #1
0
        // Get CarDelete
        public ActionResult CarDelete(int id)
        {
            CarsRepository carRepository = new CarsRepository();

            carRepository.DeleteById(id);
            return(View(carRepository.GetById(id)));
        }