示例#1
0
 public ChallengeService(IEventStore eventStore, IRepository <ChallengeViewModel> repository) : base(eventStore)
 {
     ViewStore = ViewStoreFactory.ChallengeViewModelStore(repository);
 }
 public MeasurementService(IEventStore eventStore, IRepository <MeasurementViewModel> repository) : base(eventStore)
 {
     ViewStore = ViewStoreFactory.MeasurementViewModelStore(repository);
 }
示例#3
0
 public WorkoutService(IEventStore eventStore, IRepository <WorkoutViewModel> repository) : base(eventStore)
 {
     ViewStore = ViewStoreFactory.WorkoutViewModelStore(repository);
 }