public AuthService(
     IUserRepository userRepository,
     ICompanyRepository companyRepository,
     IUserInDiscussionRepository userInDiscussionRepository,
     IDiscussionRepository discussionRepository
     )
 {
     this.userRepository             = userRepository;
     this.companyRepository          = companyRepository;
     this.userInDiscussionRepository = userInDiscussionRepository;
     this.discussionRepository       = discussionRepository;
 }
Exemplo n.º 2
0
 public ChatService(
     IMesageRepository messageRepository,
     IUserRepository userRepository,
     IDiscussionRepository discussionRepository,
     IUserInDiscussionRepository userIniscussionRepository,
     IChallengeGivenRepository challengeGivenRepository,
     IMediaRepository mediaRepository
     )
 {
     this.messageRepository         = messageRepository;
     this.userRepository            = userRepository;
     this.discussionRepository      = discussionRepository;
     this.challengeGivenRepository  = challengeGivenRepository;
     this.userIniscussionRepository = userIniscussionRepository;
     this.mediaRepository           = mediaRepository;
 }
 public GroupService(
     IGroupRepository groupRepository,
     IParticipantGroupRepository participantGroupRepository,
     ICompanyRepository companyRepository,
     IUserRepository userRepository,
     IDiscussionRepository discussionRepository,
     IUserInDiscussionRepository userInIiscussionRepository,
     IConfiguration config)
 {
     this.groupRepository            = groupRepository;
     this.participantGroupRepository = participantGroupRepository;
     this.companyRepository          = companyRepository;
     this.userRepository             = userRepository;
     this.discussionRepository       = discussionRepository;
     this.userInIiscussionRepository = userInIiscussionRepository;
     this._appSettings = config;
 }