Beispiel #1
0
        async Task CycleDXFs(IEnumerable <IFormFile> fileCollection)
        {
            foreach (var file in fileCollection)
            {
                if (file != null)
                {
                    using (var stream = new MemoryStream())
                    {
                        await file.CopyToAsync(stream);

                        await dXFRepo.Store(stream, file.FileName);
                    }
                }
            }
        }