File upload with additional parameter

Earlier today I did a post regarding File Upload and being able to rename the incoming file.
I did find your example of Upload with a custom parameter.
The example showed the markup, but did not show what the Uploadcontroller looks like when you are passing a parameter.
I tried 2 different prototypes and both fail on execution.

// Single file upload
[HttpPost("upload/single")]
public async Task SingleAsync(IFormFile file)
{
// Single file upload
[HttpPost("upload/single")]
public async Task SingleAsync(IFormFile file,string NewFileName)
{

Can you provide an example of the UploadController for uploading a single file with a 'parameter' ?

Thank you in advance

Hey @mwechter,

You have full access to the source code of both components and examples including the upload controller:
https://github.com/radzenhq/radzen-blazor/blob/master/RadzenBlazorDemos/Controllers/UploadController.cs