示例#1
0
        public IActionResult GetDetail(string id)
        {
            var slide = _slideRepository.GetSlide(id);

            return(Json(new
            {
                data = slide,
                status = true
            }));
        }
示例#2
0
        public SlideDto GetSlide(short slideId, int presentationId, Guid deviceId)
        {
            var slide = _slideRepository.GetSlide(slideId, presentationId, deviceId);

            return(_mapper.Map <SlideDto>(slide));
        }