init
This commit is contained in:
14
Kreta.Job.Tasks.Core/IEmailJob.cs
Normal file
14
Kreta.Job.Tasks.Core/IEmailJob.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Kreta.Job.Tasks.Core
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Hangfire;
|
||||
using Kreta.Job.Tasks.Core.Models;
|
||||
|
||||
public interface IEmailJob
|
||||
{
|
||||
[AutomaticRetry(Attempts = 5)]
|
||||
Task SendMailAsync(EmailModel emailModel);
|
||||
void SendMailMessages(List<EmailModel> emailJobList);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user