예제 #1
0
 public static async Task HttpTriggerAuditDataCleanup(
     [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)] HttpRequest httpRequest,
     [Inject] IAuditDataCleanUpService auditDataCleanUpService)
 {
     await auditDataCleanUpService.TriggerAuditDataCleanup();
 }
예제 #2
0
 public static async Task TimerTriggerAuditDataCleanup(
     [TimerTrigger("%AuditDataCleanUpSchedule%", RunOnStartup = false)] TimerInfo timerInfo,
     [Inject] IAuditDataCleanUpService auditDataCleanUpService)
 {
     await auditDataCleanUpService.TriggerAuditDataCleanup();
 }