Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1st version of ReservationService - with null as return type
package com.its.reservation.service;
import org.springframework.stereotype.Service;
import com.its.reservation.repository.Reservation;
@Service
public class ReservationService {
public Reservation getReservationDetails(String name) {
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment