예제 #1
0
        public string CreateVideo(string propertyReference, Video video)
        {
            Check.If(propertyReference).IsNotNullOrEmpty();
            Check.If(video).IsNotNull();

            var result =  _videoRepository.CreateVideo(propertyReference, video.CreateReference(_referenceGenerator));

            return result ? video.VideoReference : null;
        }