public async Task Handle(TodoListItemCreated notification, CancellationToken cancellationToken) { var layout = new SubItemLayout { ItemId = notification.Item.Id }; layout.Id = _subItemLayout.NextId(); await _subItemLayout.AddLayoutAsync(layout); await _subItemLayout.SaveChangesAsync(); }