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