Adds stubs for some basic Team CRUD
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package net.halfbinary.scavengerhuntapi.service
|
||||
|
||||
import net.halfbinary.scavengerhuntapi.model.HuntId
|
||||
import net.halfbinary.scavengerhuntapi.model.TeamId
|
||||
import net.halfbinary.scavengerhuntapi.model.domain.Team
|
||||
import org.springframework.stereotype.Service
|
||||
|
||||
@Service
|
||||
class TeamService {
|
||||
fun getListOfTeamsForHunt(huntId: HuntId): List<Team> {
|
||||
TODO()
|
||||
}
|
||||
|
||||
fun createTeam(name: String): Team {
|
||||
TODO()
|
||||
}
|
||||
|
||||
fun addTeamToHunt(huntId: HuntId, teamId: TeamId) {
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user