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