small preparations for more stability

This commit is contained in:
jotty committed 2023-03-11 08:04:15 +01:00
1 parent a0bcaeb59e
commit 00a42a35e3
2 files changed
+2 -1

No files matched your search

@@ -324,7 +324,7 @@ public class AdminRepository {
* @return number of affected database rows; should be 1
*/
public Integer upsertLocation(@Valid LocationBean bean) {
// TODO: implement; respect existing camps that fit to the current camp location.
// TODO: implement
throw new DataAccessException("not yet implemented");
}
}
@@ -114,6 +114,7 @@ public class AdminService {
* @param id the ID of the location
*/
public void deleteLocation(Integer id) {
// TODO: if a location is still in use by a camp, forbid deleting it
adminRepository.deleteLocation(id);
}