-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathLikeFacade.java
More file actions
31 lines (26 loc) · 839 Bytes
/
LikeFacade.java
File metadata and controls
31 lines (26 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.loopers.application.like;
import com.loopers.domain.like.LikeService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
/**
* packageName : com.loopers.application.like
* fileName : LikeFacade
* author : byeonsungmun
* date : 2025. 11. 14.
* description :
* ===========================================
* DATE AUTHOR NOTE
* -------------------------------------------
* 2025. 11. 14. byeonsungmun 최초 생성
*/
@Component
@RequiredArgsConstructor
public class LikeFacade {
private final LikeService likeService;
public void like(String userId, Long productId) {
likeService.like(userId, productId);
}
public void unlike(String userId, Long productId) {
likeService.unlike(userId, productId);
}
}