owl-blogs/app/interaction_service.go

15 lines
272 B
Go
Raw Normal View History

2024-02-24 18:53:49 +00:00
package app
import (
"owl-blogs/app/repository"
"owl-blogs/domain/model"
)
type InteractionService struct {
repo repository.InteractionRepository
}
func (s *InteractionService) ListInteractions() ([]model.Interaction, error) {
return s.repo.ListAllInteractions()
}