public bool Execute(PhotoEditModel model)
        {
            var         parentPath = "";
            MediaFolder folder     = null;

            if (model.ParentFolderId.HasValue)
            {
                folder     = _dataContext.Folders.First(f => f.Id == model.ParentFolderId.Value);
                parentPath = _context.GetFolderPath(model.ParentFolderId.Value, null);
            }

            //var fileName = Path.GetFileName(model.FileName);
            //var filePath = Path.Combine(_host.WebRootPath, "gallery", parentPath, fileName);

            _fileClient.UploadPhoto(Path.Combine(parentPath, model.FileName), model.File.OpenReadStream());

            return(true);
        }