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