Hi,
I’d like to do something like this:
var result = await Repository.Create(model); // the result.Id is generated here. I want to save the jobId here.
var jobId = BackgroundJob.Schedule(() => Start(result.Id), result.TimeUntilStart()); //I only get jobId here
So if I later update the Time in my entity I can find the matching BackgroundJob to modify.
Is there a way to pass an already generated jobId to BackgroundJob.Schedule()?
Thanks.