public void Handle(SectionNameChanged evnt) { ConnectionFactory.CreateConnection().TryExecute((connection) => { connection.Update(new { Name = evnt.Name }, new { Id = evnt.SectionId }, "tb_Section"); }); }
public void Handle(SectionNameChanged evnt) { TestBase.EventHandlerWaiter.Set(); }
void IEventHandler <SectionNameChanged> .Handle(SectionNameChanged evnt) { Name = evnt.Name; }