public Task <ActionResult> UploadSingleFileAsFormDataAsync(UploadSingleFileAsFormDataParameters parameters, [FromServices] IUploadSingleFileAsFormDataHandler handler, CancellationToken cancellationToken)
        {
            if (handler is null)
            {
                throw new ArgumentNullException(nameof(handler));
            }

            return(InvokeUploadSingleFileAsFormDataAsync(parameters, handler, cancellationToken));
        }
 private static async Task <ActionResult> InvokeUploadSingleFileAsFormDataAsync(UploadSingleFileAsFormDataParameters parameters, IUploadSingleFileAsFormDataHandler handler, CancellationToken cancellationToken)
 {
     return(await handler.ExecuteAsync(parameters, cancellationToken));
 }