package service import ( "context" "go.uber.org/zap" "penahub.gitlab.yandexcloud.net/backend/quiz/common.git/model" ) func (s *Service) GetStepsWithPagination(ctx context.Context, req *model.PaginationReq) (*model.UserListStepsResp, error) { response, err := s.repository.AmoRepo.GetStepsWithPagination(ctx, req) if err != nil { s.logger.Error("error getting steps with pagination", zap.Error(err)) return nil, err } return response, nil } func (s *Service) UpdateListSteps(ctx context.Context) error { err := s.repository.AmoRepo.UpdateListSteps(ctx) if err != nil { return err } return nil }