Exemple #1
0
 public InviteContactsService(IInvitationCodeRepository invitationCodeRepository, IBasicUserRepository registeredUserRepository, IFriendProviderRepository friendProviderRepository, IFriendCreatorService friendCreatorService, IMessageSenderService messageSenderService, IInvitationCodeGeneratorService invitationCodeGeneratorService)
 {
     this.basicUserRepository            = registeredUserRepository;
     this.friendProviderRepository       = friendProviderRepository;
     this.friendCreatorService           = friendCreatorService;
     this.messageSenderService           = messageSenderService;
     this.invitationCodeRepository       = invitationCodeRepository;
     this.invitationCodeGeneratorService = invitationCodeGeneratorService;
 }
Exemple #2
0
 public InvitationController(IMessageSenderService messageSenderService, IInvitationCodeGeneratorService invitationCodeGeneratorService, IInvitationValidatorService invitationValidatorService)
 {
     _messageSenderService           = messageSenderService;
     _invitationValidatorService     = invitationValidatorService;
     _invitationCodeGeneratorService = invitationCodeGeneratorService;
 }