public string ContinueWith <T>([NotNull] string parentId, [InstantHandle, NotNull] Expression <Func <T, Task> > methodCall, Core.Interfaces.JobContinuationOptions options = Core.Interfaces.JobContinuationOptions.OnlyOnSucceededState) { return(BackgroundJob.ContinueJobWith <T>(parentId, methodCall, (Hangfire.JobContinuationOptions)options)); }
public string ContinueWith <T>([NotNull] string parentId, [InstantHandle, NotNull] Expression <Action <T> > methodCall, Core.Interfaces.JobContinuationOptions options) { return(BackgroundJob.ContinueJobWith <T>(parentId, methodCall, (Hangfire.JobContinuationOptions)options)); }