예제 #1
0
        public UploadDto GetList()
        {
            var dto   = UnitOfWorkService.Execute(() => _uploadRepository.GetList().ToList());
            var model = dto.FirstOrDefault();

            return(model?.MapTo <UploadDto>());
        }