public InviteJoinBand(IInvitationRepository invitationRepository, IBandRepository bandRepository, IBanditRepository banditRepository, Notifications notifications) { if (invitationRepository == null) { throw new ArgumentNullException(nameof(invitationRepository)); } if (bandRepository == null) { throw new ArgumentNullException(nameof(bandRepository)); } if (banditRepository == null) { throw new ArgumentNullException(nameof(banditRepository)); } if (notifications == null) { throw new ArgumentNullException(nameof(notifications)); } this.notifications = notifications; this.bandRepository = bandRepository; this.banditRepository = banditRepository; this.invitationRepository = invitationRepository; }
public BanditBandsList(IBanditRepository banditRepository) { if (banditRepository == null) { throw new ArgumentNullException(nameof(banditRepository)); } this.banditRepository = banditRepository; }
public JoinApp(Notifications notifications, IBanditRepository banditRepository) { if (notifications == null) { throw new ArgumentNullException(nameof(notifications)); } if (banditRepository == null) { throw new ArgumentNullException(nameof(banditRepository)); } this.notifications = notifications; this.banditRepository = banditRepository; }
public CreateBand(IBandRepository bandRepository, IBanditRepository banditRepository) { if (bandRepository == null) { throw new ArgumentNullException(nameof(bandRepository)); } if (banditRepository == null) { throw new ArgumentNullException(nameof(banditRepository)); } this.bandRepository = bandRepository; this.banditRepository = banditRepository; }