feat(tester): add UpdateParticipant endpoint

This commit is contained in:
Vyacheslav1557 2025-03-08 11:44:19 +05:00
parent e1720e7f82
commit dd87d63860
8 changed files with 45 additions and 1 deletions

View file

@ -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)
}