示例#1
0
        public bool DeleteCar(int id)
        {
            var car = _carDao.GetForId(id);

            _carDao.Delete(car);

            return(true);
        }
示例#2
0
 public int Delete(string number)
 {
     return(_carDao.Delete(number));
 }
 public void Delete(Car car)
 {
     _icarDao.Delete(car);
 }
示例#4
0
 public IResult Delete(Car car)
 {
     _carDao.Delete(car);
     return(new SuccessResult(Messages.CarDeleted));
 }