Ignore:
Timestamp:
09/04/21 12:17:17 (3 years ago)
Author:
KostaFortumanov <kfortumanov@…>
Branches:
master
Children:
0f4f552
Parents:
5306751
Message:

Dodadeno prijavuvanje na objavi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/charitable/services/DonationPostService.java

    r5306751 rab49338  
    33import it.finki.charitable.entities.AppUser;
    44import it.finki.charitable.entities.DonationPost;
     5import it.finki.charitable.entities.Moderator;
    56import it.finki.charitable.repository.DonationPostRepository;
    67import org.springframework.data.domain.Page;
     
    4546    }
    4647
     48    public List<DonationPost> findAllByModerator(Moderator moderator) {
     49        return donationPostRepository.findAllByModerator(moderator);
     50    }
     51
    4752    public void delete(DonationPost donationPost) {
    4853        donationPostRepository.delete(donationPost);
Note: See TracChangeset for help on using the changeset viewer.