コード例 #1
0
        private PresentationResponse CreateResponseForZipAndHistoryLog(PresentationOnDrive zippedPresentation, Presentation presentation)
        {
            var presentationResponse = new PresentationResponse();

            presentation.GoogleDriveZipFileId = zippedPresentation.FileId;
            _presentationRepository.Save();

            var presentationDto = Mapper.Map <PresentationDto>(presentation);

            presentationResponse.CreateSuccessResponse(presentationDto);
            return(presentationResponse);
        }