示例#1
0
 public void Process(AutomaticReplyRemoved @event)
 {
     _automaticReplies.Delete(e => e.Id == @event.Id);
 }
示例#2
0
        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);
 }