private UpdateDefinition <AuctionRead> UpdateAuction(AuctionUpdateEventGroup eventGroup, AuctionNameChanged ev) { return(Builders <AuctionRead> .Update.Set(read => read.Name, ev.AuctionName.Value)); }
private void ApplyEvent(AuctionNameChanged ev) => UpdateName(ev.AuctionName);