예제 #1
0
 public void Handle(UserGainedExperience evt)
 {
     _db.Update <UserView>(new { ExperiencePoints = evt.TotalPoints }, p => p.Id == evt.Id);
 }
예제 #2
0
 public void Apply(UserGainedExperience evt)
 {
     ExperiencePoints = evt.TotalPoints;
 }