func (s *Sample) Get(ctx context.Context, fts []filter.Filter, pgn paginator.Paginator) ([]entities.Sample, error) {
	samples, err := s.sampleRepository.Get(ctx, fts, pgn)
	if err != nil {
		return nil, s.errCannotGetData(err)
	}
	return samples, nil
}
Get returns a list of samples.
package sample
import (
	"context"
	"github.com/kosatnkn/catalyst/v2/domain/entities"
	"github.com/kosatnkn/req/filter"
	"github.com/kosatnkn/req/paginator"
)