public List <Booking> GetBookingsByTime(DateTime start, DateTime end) { List <Booking> bookings = Rentals.GetBookingsByTime(start, end); return(bookings); }
public List <Booking> GetAllBookings(DateTime from, DateTime to) { List <Booking> list = r.GetBookingsByTime(from, to); return(list); }