private void Handle(OfflineStoreDeletedEvent evnt) { _userId = Guid.Empty; _statisticInfo = null; _info = null; }
private void Handle(NewSaleAcceptedEvent evnt) { _statisticInfo = evnt.Info; }
private void Handle(OfflineStoreStatisticInfoChangedEvent evnt) { _statisticInfo = evnt.Info; }
private void Handle(OfflineStoreCreatedEvent evnt) { _userId = evnt.UserId; _info = evnt.Info; _statisticInfo = new StatisticInfo(0, 0, DateTime.Now); }