Trang Doan has 6 years of professional experience. In 2018, they began working at GetLinks as a Recruitment Consulting Manager and a member of the Talent Management Team. Prior to that, they worked at Harvey Nash from 2012 to 2018 as a Senior Recruitment Consultant. From 2010 to 2012, they worked at Glandore Systems as a Resourcer-Researcher.
package com.example.demo.controller;
import com.example.demo.model.User;
import com.example.demo.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@RestController
@RequestMapping("/user")
public class UserController {
@Autowired
private UserRepository userRepository;
@GetMapping("/list")
public List<User> list(){
return userRepository.findAll();
}
}
Links
Sign up to view 0 direct reports
Get started