Пример #1
0
 public InvitationRepository(SoproplDbContext context, IOrganizationRepository orgRepo, INotificationRepository notificationRepo, ISmtpClientRepository smtpClientRepo)
 {
     this.orgRepo          = orgRepo;
     this.smtpClientRepo   = smtpClientRepo;
     this.notificationRepo = notificationRepo;
     this.context          = context;
 }
Пример #2
0
 public UsersController(
     IUserRepository userRepo,
     IMapper mapper,
     IOrganizationRepository organizationRepo,
     IMemberRepository memberRepo,
     ISmtpClientRepository smtpClientRepo,
     INotificationRepository notificationRepo,
     IInvitationRepository invitationRepo)
 {
     this.memberRepo       = memberRepo;
     this.smtpClientRepo   = smtpClientRepo;
     this.notificationRepo = notificationRepo;
     this.invitationRepo   = invitationRepo;
     this.organizationRepo = organizationRepo;
     this.mapper           = mapper;
     this.userRepo         = userRepo;
 }