public UploadDto GetList() { var dto = UnitOfWorkService.Execute(() => _uploadRepository.GetList().ToList()); var model = dto.FirstOrDefault(); return(model?.MapTo <UploadDto>()); }