public async Task <DateTimeOffset> Schedule() { return(await _schedulerService.ScheduleJob(PersonToSearchJobDetail.CreateJobDetail(), trigger.CreateTrigger())); }
public void create_generic_trigger_instance() { var result = _trigger.CreateTrigger(); Assert.IsInstanceOf <ITrigger>(result); }