public void Process(AutomaticReplyRemoved @event) { _automaticReplies.Delete(e => e.Id == @event.Id); }
public void Process(AutomaticReplyRemoved @event) { var reply = _automaticReplies.GetById(@event.Id); _automaticReplies.Delete(reply); }
public async Task Process(AutomaticReplyRemoved @event) { await _automaticReplies.Remove(@event.Id); }