refactor: move lists to their representative repos

This commit is contained in:
2026-04-07 10:32:30 +02:00
parent 813d1f4879
commit 9187297367
13 changed files with 167 additions and 314 deletions

View File

@@ -21,6 +21,6 @@ func (s *CustomerService) GetById(id uint) (*model.Customer, error) {
return s.repo.Get(id)
}
func (s *CustomerService) Find(langId uint, p find.Paging, filt *filters.FiltersList) (*find.Found[model.Customer], error) {
func (s *CustomerService) Find(langId uint, p find.Paging, filt *filters.FiltersList) (*find.Found[model.UserInList], error) {
return s.repo.Find(langId, p, filt)
}