.Net Core Hangfire example
Example 1: hangfire asp.net core
var jobId = BackgroundJob.Enqueue(
() => Console.WriteLine("Fire-and-forget!"));
Example 2: how to use hangfire in controller in .net core
don't use it
var jobId = BackgroundJob.Enqueue(
() => Console.WriteLine("Fire-and-forget!"));
don't use it