func (p *mockPostgres) SearchAvailabilityByDatesByLaptopID(start, end time.Time, laptopID int) (bool, error) {
	if laptopID == 1 {
		return true, nil
	} else if laptopID == 1000 {
		return false, nil
	}
	return false, errors.New("error")
}
// SearchAvailabilityByDatesLaptopID returns true if availability exists for laptop id, and false if no availability exists
SearchAvailabilityByDatesLaptopID returns true if availability exists for laptop id, and false if no availability exists
// SearchAvailabilityByDatesLaptopID returns true if availability exists for laptop id and false if no availability exists
func (p *mockPostgres) SearchAvailabilityByDatesByLaptopID(start, end time.Time, laptopID int) (bool, error) {
	if laptopID == 1 {
		return true, nil
	} else if laptopID == 1000 {
		return false, nil
	}
	return false, errors.New("error")
}
func ( p * mockPostgres ) SearchAvailabilityByDatesByLaptopID ( start , end time . Time , laptopID int ) ( bool , error ) { if laptopID == 1 { return true , nil } else if laptopID == 1000 { return false , nil } return false , errors . New ( " " ) }
SearchAvailabilityByDatesLaptopID returns true if availability exists for laptop id, and false if no availability exists
SearchAvailabilityByDatesLaptopID returns true if availability exists for laptop id and false if no availability exists