I am trying to use IOC but never mind I can’t ever do that !!
RecurringJob.AddOrUpdate("addfollow-" + 2, () => AddFollowerState(2,IInstaApi), "*/5 * * * *", TimeZoneInfo.Local, "default");
so my method is AddFollowerState(2,IInstaApi)
and I am trying to change the source that “RecurringJob.AddOrUpdate” method can accept only a method and method should have 2 parameter type one “int” and one “IInstaApi”
how can I do that?