When IBackgroundJobClient
Enqueue Generic method
client.Enqueue<IEmailService>(service => service.SendAsync<CustomType>(message.Id));
I’m getting following exception.
The type
Harmony.Admin.Service.IEmailService
does not contain a method with signatureSendAsync(String)
System.InvalidOperationException: The type
Harmony.Admin.Service.IEmailService
does not contain a method with signatureSendAsync(String)
at Hangfire.Storage.InvocationData.DeserializeJob()
method was
public async Task SendAsync<T>(string jobId) where T : class
In this Github Issue it mentioned issue has resolved. so what was the issue ??