Skip to content

Commit

Permalink
[feat] 미션글 및 댓글 삭제 헬퍼 메서드
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchoGreenT committed Sep 6, 2024
1 parent 0fc17f4 commit 9a21573
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ public void deleteMissionPostLike(Long userId, Long missionPostId) {
missionPostRepository.deleteMissionPostLike(userId, missionPostId);
}

public void deleteMissionPost(MissionPost missionPost){
missionPostRepository.delete(missionPost);
}
public void deleteMissionPostComment(MissionPostComment missionPostComment){
missionPostCommentRepository.delete(missionPostComment);
}
public void deleteMissionPostComments(Long userId){
missionPostRepository.deleteMissionPostComments(userId);
}
Expand Down

0 comments on commit 9a21573

Please sign in to comment.