-
-
Save 738/2bc9b71a121dac5656adb9cff9adb8ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 투표 아이템을 등록 | |
enroll(votingItem) { | |
// ... | |
} | |
// `id`에 해당하는 투표 아이템을 조회 | |
get(id) { | |
// ... | |
} | |
// 모든 투표 아이템을 조회 | |
getVotingList() { | |
// ... | |
} | |
// `id`에 해당하는 투표 아이템의 `index`에 투표 | |
vote(id, index) { | |
// ... | |
} | |
// 투표 아이템을 등록한 유저가 투표 아이템을 제거 | |
delete(id) { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment