public IResult Delete(int id) { var value = _reservationDal.Get(x => x.Id == id); _reservationDal.Delete(value); return(new SuccessResult()); }
public void Delete(Reservation entity) { _reservationDal.Delete(entity); }
public IResult Delete(int id) { var value = _reservationDal.Get(x => x.Id == id); _reservationDal.Delete(value); return(new SuccessResult()); }
public void Delete(Reservation entity) { _reservationDal.Delete(entity); }