class DatabaseSetController {

    @RequestMapping(value = "/sync")
    public ServiceResult<String> sync(@RequestParam("id") Long id, @CurrentUser LoginUser user) throws Exception {
        DatabaseSet databaseSet = databaseSetDao.getDatabaseSetById(id);
        return databaseSetService.syncDbSet(user, databaseSet);
    }

}