How to use hangfire from controller without using static method

Iam using hang fire.but i want to create an object of bal and call a function from there…is that possible

You can call non-static methods as explained in the documentation.

BackgroundJob.Enqueue<EmailSender>(x => x.Send(13, "Hello!"));

The worker will create a new EmailSender and execute that method.

Retry attempt 1 of 10: No parameterless constructor defined for this object

This is the response i am getting.Is it mandatory for a paramtereless constructor

http://docs.hangfire.io/en/latest/background-methods/passing-dependencies.html
You will need to use an IoC container. I just started using Hangfire.Unity with my project to pass in constructor arguments.

Alternatively, you could call a static method that creates your object and executes the method. Simply wrapping it in another method call.