Пример #1
0
 public static async Task HttpTriggerLevyAccountValidation(
     [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)] HttpRequest httpRequest,
     [Inject] ILevyAccountValidationService levyAccountValidationService)
 {
     await levyAccountValidationService.Validate();
 }
Пример #2
0
 public static async Task TimerTriggerLevyAccountValidation(
     [TimerTrigger("%LevyAccountValidationSchedule%", RunOnStartup = false)] TimerInfo timerInfo,
     [Inject] ILevyAccountValidationService levyAccountValidationService)
 {
     await levyAccountValidationService.Validate();
 }