public async Task <IActionResult> PostFile([FromForm] FileViewModel viewModel)
        {
            await AuthorizeUploadAsync(BlobFunctionName);

            if (viewModel.Files == null || viewModel.Files.Length == 0)
            {
                ModelState.AddModelError(nameof(viewModel.Files), "Files should not be empty.");

                return(BadRequest(ModelState));
            }

            var ids = await _blobService.CreateFileAsync(
                viewModel.Files,
                viewModel.Parent.TrimNull(),
                GetEmbeddedUser(),
                GetClientIP());

            return(Created(string.Empty, ids));
        }