public MeetupAppService(MeetupRepository repo, AttendantsRepository attendantsRepo, IBus bus, LocationValidator validateLocation)
 {
     _repo             = repo;
     _attendantsRepo   = attendantsRepo;
     _validateLocation = validateLocation;
     _bus = bus;
 }
Exemple #2
0
 public MeetupApplicationService(MeetupRepository repo) => _repo = repo;
Exemple #3
0
 static async Task Execute(this Transaction transaction, MeetupRepository repository)
 {
     await repository.Save(transaction.aggregate);
 }