feat(tester): add UpdateParticipant endpoint
This commit is contained in:
parent
e1720e7f82
commit
dd87d63860
8 changed files with 45 additions and 1 deletions
|
@ -61,3 +61,7 @@ func (uc *ContestUseCase) ListParticipants(ctx context.Context, contestId int32,
|
|||
func (uc *ContestUseCase) UpdateContest(ctx context.Context, id int32, contestUpdate models.ContestUpdate) error {
|
||||
return uc.contestRepo.UpdateContest(ctx, id, contestUpdate)
|
||||
}
|
||||
|
||||
func (uc *ContestUseCase) UpdateParticipant(ctx context.Context, id int32, participantUpdate models.ParticipantUpdate) error {
|
||||
return uc.contestRepo.UpdateParticipant(ctx, id, participantUpdate)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue