예제 #1
0
파일: gateway.py 프로젝트: uvbs/captionmash
def addCaption(http_request, captionDTO):
    captionService = CaptionService()
    return captionService.addCaption(http_request, captionDTO)
예제 #2
0
파일: gateway.py 프로젝트: uvbs/captionmash
def getCaptionByLink(http_request, caption_link):
    captionService = CaptionService()
    return captionService.getCaptionByLink(caption_link)
예제 #3
0
파일: gateway.py 프로젝트: uvbs/captionmash
def getCaptions(request):
    captionService = CaptionService()
    return captionService.getLatestCaptions()