private FileModel FormFileModel(FileChunkDTO file, System.IO.Stream stream)
 {
     return(new FileModel
     {
         FileName = file.Number + file.FileId,
         Stream = stream
     });
 }
        public async Task <ActionResult> UploadChunk([FromForm] FileChunkDTO chunk)
        {
            using (var stream = chunk.File.OpenReadStream())
            {
                await _facade.SaveFileChunk(FormFileModel(chunk, stream));
            }

            return(Ok());
        }