public void Handle(ChangedToDoListDescriptionEvent @event) { using (var db = new ToDoContext()) { int modelId = _identityMapper.GetModelId <ToDoList>(@event.ToDoListId); ToDoList list = db.Lists.First(t => t.Id.Equals(modelId)); if (list != null) { list.Description = @event.Description; db.Entry(list).State = EntityState.Modified; db.SaveChanges(); Task.Run(() => notifier.ChangedToDoListDescriptionEventNotify(list)).ConfigureAwait(false); } } }