Пример #1
0
        public OrgManager(IOrganizationRepo organizationRepo,
                          IOrgLocationRepo locationRepo,
                          IOrgUserRepo orgUserRepo,
                          IAppUserRepo appUserRepo,
                          IInviteUserRepo inviteUserRepo,
                          ILocationUserRepo locationUserRepo,
                          ILocationRoleRepo locationRoleRepo,
                          IOrganizationRoleRepo orgRoleRepo,
                          ISmsSender smsSender,
                          IEmailSender emailSender,
                          IAppConfig appConfig,
                          IDependencyManager depManager,
                          ISecurity security,
                          IOrgInitializer orgInitializer,
                          IAdminLogger logger) : base(logger, appConfig, depManager, security)
        {
            _appUserRepo      = appUserRepo;
            _organizationRepo = organizationRepo;
            _orgUserRepo      = orgUserRepo;
            _locationRepo     = locationRepo;
            _locationUserRepo = locationUserRepo;

            _orgRoleRepo      = orgRoleRepo;
            _locationRoleRepo = locationRoleRepo;
            _smsSender        = smsSender;
            _emailSender      = emailSender;
            _inviteUserRepo   = inviteUserRepo;
            _adminLogger      = logger;
            _orgInitializer   = orgInitializer;
        }
Пример #2
0
        public OrganizationManager(IOrganizationRepo organizationRepo,
                                   IOrganizationLocationRepo locationRepo,
                                   IOrganizationAccountRepo orgAccountRepo,
                                   IAppUserRepo appUserRepo,
                                   IInviteUserRepo inviteUserRepo,
                                   ILocationAccountRepo locationAccountRepo,
                                   ILocationRoleRepo locationRoleRepo,
                                   IOrganizationRoleRepo orgRoleRepo,
                                   ISmsSender smsSender,
                                   IEmailSender emailSender,
                                   IAppConfig appConfig,
                                   ILogger logger) : base(logger, appConfig)
        {
            _appUserRepo         = appUserRepo;
            _organizationRepo    = organizationRepo;
            _orgAccountRepo      = orgAccountRepo;
            _locationRepo        = locationRepo;
            _locationAccountRepo = locationAccountRepo;

            _orgRoleRepo      = orgRoleRepo;
            _locationRoleRepo = locationRoleRepo;

            _smsSender      = smsSender;
            _emailSender    = emailSender;
            _inviteUserRepo = inviteUserRepo;
        }