Hello Team,
I’ve used IOC container (as described at other places) to invoke the target method (expression) in Enqueue / Schedule methods. But I still face the below problem.
Failed
Can not change the state to ‘Enqueued’: target method was not found.
System.InvalidOperationException
The type EmailServiceProvider
does not contain a method with signature SendEmailAsync(EmailData, String, String, String)
System.InvalidOperationException: The type EmailServiceProvider
does not contain a method with signature SendEmailAsync(EmailData, String, String, String)
at Hangfire.Storage.InvocationData . DeserializeJob ()
Can anyone please help us here?
Thanks in advance!