<?php
namespace EasyRestaurantManager\Resources;

use EasyRestaurantManager\Models\Reservation;

class ReservationResource {
    public static function getAvailableTables($date, $time) {
        return Reservation::getAvailableTables($date, $time);
    }

    public static function store($data) {
        return Reservation::store($data);
    }
    public static function getReservation(){
        return Reservation::getReservation();
    }
   
    public static function UpdateReservation($id, $status){
        
       return Reservation::UpdateReservation($id, $status);
    }

    public static function deleteReservation($id){
        return Reservation::deleteReservation($id);
    }
  
}