Example #1
0
def addCaption(http_request, captionDTO):
    captionService = CaptionService()
    return captionService.addCaption(http_request, captionDTO)
Example #2
0
def getCaptionByLink(http_request, caption_link):
    captionService = CaptionService()
    return captionService.getCaptionByLink(caption_link)
Example #3
0
def getCaptions(request):
    captionService = CaptionService()
    return captionService.getLatestCaptions()