class ProjectController {

    @RequestMapping(value = "/projects")
    public ServiceResult<List<Project>> getProjects(@RequestParam(value = "name", defaultValue = "") String name) throws SQLException {
        return ServiceResult.success(projectDao.getProjectsListByLikeName(name));
    }

}