func (p *mockPostgres) InsertReservation(res *models.Reservation) (int, error) {
	// if the first name is Test, then failed
	if res.FirstName == "Test" {
		return 0, errors.New("error")
	}
	return 1, nil
}
// InsertReservation inserts a reservation into the database
InsertReservation inserts a reservation into the database
// InsertReservation inserts a reservation into the database
func (p *mockPostgres) InsertReservation(res *models.Reservation) (int, error) {
	if res.FirstName == "Test" {
		return 0, errors.New("error")
	}
	return 1, nil
}
func ( p * mockPostgres ) InsertReservation ( res * models . Reservation ) ( int , error ) { if res . FirstName == " " { return 0 , errors . New ( " " ) } return 1 , nil }
InsertReservation inserts a reservation into the database
InsertReservation inserts a reservation into the database
// if the first name is Test, then failed