This commit refactors the `DatasetController` and `DatasetService` classes. It updates the request mappings in the `DatasetController` class to `/api/v1/datasets` and adds new methods for upvoting and downvoting datasets. In the `DatasetService` class, it adds the `upvoteDataset` and `downvoteDataset` methods to handle dataset upvoting and downvoting. This refactoring improves code organization and functionality. |
||
---|---|---|
.mvn/wrapper | ||
src | ||
.gitignore | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
README.md |