This commit is contained in:
@@ -21,11 +21,11 @@ func NewSongService(songRepo *repository.SongRepository, mediaRepo *repository.M
|
||||
}
|
||||
}
|
||||
|
||||
func (s *SongService) GetAllWithDetails() ([]repository.SongDetail, error) {
|
||||
func (s *SongService) GetAllWithDetails() ([]model.SongDetail, error) {
|
||||
return s.songRepo.GetAllWithDetails()
|
||||
}
|
||||
|
||||
func (s *SongService) GetByIDWithDetails(id int) (repository.SongDetail, error) {
|
||||
func (s *SongService) GetByIDWithDetails(id int) (model.SongDetail, error) {
|
||||
return s.songRepo.GetWithDetails(id)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user