public async Task SendEmail(SendEmailInput input) { await _backgroundJobManager.EnqueueAsync <SimpleSendEmailJob, SimpleSendEmailJobArgs>( new SimpleSendEmailJobArgs { Subject = input.Subject, Body = input.Body, SenderUserId = 1, TargetUserId = input.TargetUserId }); }
public async Task Reason(SendEmailInput input) { }