init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
47
Kreta.Job.Tasks.Core/INotificationJob.cs
Normal file
47
Kreta.Job.Tasks.Core/INotificationJob.cs
Normal file
|
@ -0,0 +1,47 @@
|
|||
using Hangfire;
|
||||
using Hangfire.Server;
|
||||
|
||||
namespace Kreta.Job.Tasks.Core
|
||||
{
|
||||
public interface INotificationJob
|
||||
{
|
||||
#region Mobil Push notification
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendErtekelesNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendHazifeladatNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendRendszerUzenetNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendBejelentettSzamonkeresNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendFeljegyzesNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 0, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendMulasztasNotification();
|
||||
|
||||
[DisableConcurrentExecution(0)]
|
||||
[AutomaticRetry(Attempts = 2, OnAttemptsExceeded = AttemptsExceededAction.Fail)]
|
||||
void SendOrarendValtozasNotification(PerformContext context);
|
||||
|
||||
#endregion
|
||||
|
||||
[AutomaticRetry(Attempts = 1)]
|
||||
void SendKozelgoFogadooraMail();
|
||||
|
||||
[AutomaticRetry(Attempts = 1)]
|
||||
void SendNemNaplozottTanorakMail();
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue