public PageListResult <VideoDto> GetVideoPageList(VideoSearchDto videoSearchDto)
        {
            var result = _videoRepository.GetAll().WhereIf(!videoSearchDto.KeyWord.IsNullOrWhiteSpace(), m => m.Name == videoSearchDto.KeyWord)
                         .OrderBy(videoSearchDto.Orderby).PageBy <Video, VideoDto>(videoSearchDto);

            return(result);
        }
        public List <VideoDto> GetVideo(VideoSearchDto videoSearchDto)
        {
            var result = _videoRepository.GetAll().WhereIf(!videoSearchDto.KeyWord.IsNullOrWhiteSpace(), m => (m.Name.Contains(videoSearchDto.KeyWord) || m.Url.Contains(videoSearchDto.KeyWord)))
                         .ToList();
            var mapResult = result.MapTo <List <VideoDto> >();

            return(mapResult);
        }