public bool DeleteCar(int id) { var car = _carDao.GetForId(id); _carDao.Delete(car); return(true); }
public int Delete(string number) { return(_carDao.Delete(number)); }
public void Delete(Car car) { _icarDao.Delete(car); }
public IResult Delete(Car car) { _carDao.Delete(car); return(new SuccessResult(Messages.CarDeleted)); }