public static void Start <T, TOptions>(this IBackgroundJobManager jobManager, string id, TOptions options) where T : IBackgroundJob <TOptions> where TOptions : class, new() { jobManager.Start <T>(id, JsonConvert.SerializeObject(options)); }
public static void Start <T, TOptions>(this IBackgroundJobManager jobManager, string id, TOptions options) where T : IBackgroundJob <TOptions> where TOptions : class, new() { jobManager.Start <T>(id, JsonConvert.SerializeObject(options)); }