public IItemChangedTrigger CreateItemChangedTrigger(string itemName, object oldValue, object newValue, Func <Task> executeAsync) { var trigger = new ItemChangedTrigger(_itemRepository, _messageHub, itemName, oldValue, newValue, executeAsync); _triggerRepository.AddAsync(trigger).FireAndForgetAsync(e => { }); return(trigger); }