You already have an async function, just add a
Task.Run
[
^] function in the body to run the task in the background, that will just require to wrap the function code in there, and execute it.
public void func() {
Task.Run(async () => {
});
}
You might need to change the inner function to async too, just read the link provided above, it has examples for your need.
I recommend that you try to read this,
Asynchronous Programming with async and await (C#)[
^].