We are leaving Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

Hangfire issue with Unity 4.0.1 in MVC

I have project with MVC and Unity 4.0.1 installed. But now I want to integrate Hangfire in my project but when I have tried with latest version of Hangfire in without upgrading Unity then I am getting error below

Microsoft.Practices.Unity.ResolutionFailedException: 'Resolution of the dependency failed, type = “Eplatforms.ApplicationServices.Jobs.DeleteOldEnquiryJob”, name = “(none)”.

And when I have tried with upgrading Unity packages then I am getting value of HttpContext is null.

Please let me know what I am missing or what I need to add/update to resolve this issue.