how to get bool or return typw value of function provided in
bool result = BackgroundJob.Enqueue(()=> bool res = SendInformationEmail(emailVM));
please help fast.
You could either use this solution or use the continuation feature of hangfire depending on your use case