init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue