Package example.angularspring.dto

Examples of example.angularspring.dto.Person


@Service
public class InMemoryPersonService implements PersonService {
    private Map<Integer, Person> persons = new HashMap<Integer, Person>();

    public InMemoryPersonService() {
        persons.put(1, new Person(1, "Lionel", "Messi"));
        persons.put(2, new Person(2, "Cristiano", "Ronaldo"));
    }
View Full Code Here

TOP

Related Classes of example.angularspring.dto.Person

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.