private async Task SaveProjectFile(IFormFile file, string projectId)
        {
            if (file != null)
            {
                await _fileRepository.InsertProjectFile(file.OpenReadStream(), projectId);

                var fileInfo = ProjectFileInfoEntity.Create(file, projectId);
                await _fileInfoRepository.SaveAsync(fileInfo);
            }
        }
        private async Task SaveProjectFile(IFormFile file, string projectId)
        {
            if (file != null)
            {
                await _fileRepository.InsertProjectFile(file.OpenReadStream(), projectId);

                var fileInfo = new ProjectFileInfoEntity
                {
                    RowKey      = projectId,
                    ContentType = file.ContentType,
                    FileName    = file.FileName
                };

                await _fileInfoRepository.SaveAsync(fileInfo);
            }
        }