Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Object hangleCreateNewFolder(Request request, Response response){
- FolderMetadata folderMetadata = gson.fromJson(request.body(), FolderMetadata.class);
- FolderFolderContents result1 = folderFolderContentsRepository.
- storeFolderFolderContens(new FolderFolderContents(folderMetadata.getParentFolderId(),
- folderMetadata.getFolderId()));
- FolderMetadata result = folderMetadataRepostiory.storeFolderMetadata(folderMetadata);
- response.status(CREATED);
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement